Part Number Hot Search : 
C1005 12864 34563 102M0 1N2826 BYV26D 1001A GSM850
Product Description
Full Text Search
 

To Download AK464005 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 ASAHI KASEI
[AK4640]
AK4640
16-Bit CODEC with MIC/HP/SPK-AMP
GENERAL DESCRIPTION The AK4640 targeted at PDA and other low-power, small size applications. It features a 16bit stereo CODEC with a built-in Microphone-Amplifier, Headphone-Amplifier and Speaker-Amplifier. Input circuits include a Microphone-Amplifier and an ALC (Auto Level Control) circuit. The AK4640 is available in a smaller 57pin BGA in addition to a 52pin QFN that has compatibility with the AK4534/8, utilizing less board space than competitive offerings. FEATURES 1. Resolution : 16bits 2. Recording Function * Mono Input * 2 to 1 Selector (Internal and External MIC) * 1st MIC Amplifier : +20dB or 0dB * 2nd Amplifier with ALC : +27.5dB -8dB, 0.5dB Step * ADC Performance : S/(N+D) : 79dB, DR, S/N : 83dB 3. Playback Function * Digital De-emphasis Filter (tc=50/15s, fs=32kHz, 44.1kHz, 48kHz) * Digital Volume (0dB -127dB, 0.5dB Step, Mute) * Headphone-Amp - S/(N+D) : 70dB, S/N : 90dB - Output Power : 15mW@16 (HVDD=3.3V) - Click Noise Free at Power ON/OFF * Mono Speaker-Amp with ALC - S/(N+D) : 64dB@150mW, S/N : 90dB - BTL Output - ALC circuit - Output Power : 400mW@8, THD+N=10% (HVDD=3.3V) * Mono and Stereo Beep Inputs 4. Phone I/F * Full-differential AUX Input * Full-differential Mono Output 5. Power Management 6. Master Clock (1) PLL Mode * Frequencies : 11.2896MHz, 12MHz and 12.288MHz * Input Level : CMOS (2) External Clock Mode * Frequencies : 2.048MHz 12.288MHz 7. Output Master Clock Frequencies : 32fs/64fs/128fs/256fs 8. Sampling Rate (1) PLL Mode * 8kHz, 11.025kHz, 16kHz, 22.05kHz, 24kHz, 32kHz, 44.1kHz, 48kHz (2) External Clock Mode * 8kHz 48kHz 9. Control mode: 4-wire Serial / I2C Bus 10. Master/Slave mode
MS0273-E-02 -1-
2005/04
ASAHI KASEI
[AK4640]
11. Audio Interface Format : MSB First, 2's compliment * ADC : I2S, 16bit MSB justified * DAC : I2S, 16bit MSB justified, 16bit LSB justified 12. Ta = -10 70C 13. Power Supply: 2.4V 3.6V (typ. 3.3V) 14. Power Supply Current * AVDD+DVDD : 19mA * PVDD : 1.2mA * HVDD (HP-AMP=ON, SPK-AMP=OFF) : 4mA * HVDD (HP-AMP=OFF, SPK-AMP=ON) : 7mA 15. Package : 57pin BGA (5mm x 5mm, 0.5mm pitch) 52pin QFN (Pin Compatible with AK4534/8VN) 16. Register Compatible with AK4534/8 Block Diagram
M/S MICOUT
PMMIC
AVSS AVDD
AIN
MPE MPI INT
MIC Power Supply
CAD0
MIC Power Supply PMADC ALC1 (IPGA)
ADC
EXT
MIC-AMP 0dB or 20dB
HPF
PDN
PMMO ATT
Audio Interface
MOUT+
ATT
LRCK BICK
MOUTPMHPL or PMHPR or PMSPK ATT PMDAC
SDTO SDTI
DAC
DATT SMUTE
I2C
DSP and uP
HVDD HVSS HPL
PMHPL MIX
CSN/CAD1
Control Register
CCLK/SCL CDTI/SDA CDTO
HP-AMP
MIX
PMHPR MIX PMPLL
XTO
HPR MUTET
HP-AMP
MIX
PLL
XTI/MCKI PVDD
PMSPK
SPP
SPKAMP
SPN
ALC2
MIX
MIX
Volume
PVSS MCKO
PMBPS
PMBPM
MOUT
PMAUX
VCOC
VCOM BEEPL DVSS DVDD BEEPR BEEPM MIN MOUT2 AUXIN+ AUXIN-
Figure 1. Block Diagram
MS0273-E-02 -2-
2005/04
ASAHI KASEI
[AK4640]
Ordering Guide
AK4640VG AK4640VN AKD4640 -10 +70C 57pin BGA (0.5mm pitch) -10 +70C 52pin QFN (0.4mm pitch) Evaluation board for AK4640
Pin Layout (AK4640VG)
9 8 7 6 5 4 3 2 1
AK4640
Top View
A
B
C
D
E
F
G
H
J
9 8 7 6 5 4 3 2 1
NC HPL MIN MOUT2 MOUT+ BEEPM BEEPL MICOUT NC A
HPR MUTET NC MOUT- AUXIN- AUXIN+ BEEPR AIN EXT B
HVSS HVSS
HVDD HVDD
SPN SPN
SPP SPP
M/S XTO
XTI/MCKI DVDD NC BICK
NC DVSS MCKO LRCK SDTO I2C
Top View
SDTI CDTO
NC MPI MPE C VCOM INT D AVDD AVSS E AVDD PVDD F PVSS VCOC G
CCLK/SCL CDTI/SDA CSN/CAD1 CAD0 H PDN NC J
MS0273-E-02 -3-
2005/04
ASAHI KASEI
[AK4640]
Pin Layout (AK4640VN)
XTI/MCKI
MUTET
HVDD
DVDD 28
DVSS
HVSS
HPR
SPN
XTO
SPP
HPL
M/S
39
38
37
36
35
34
33
32
31
30
29
MIN MOUT2 NC NC MOUT- MOUT+ AUXIN- AUXIN+ BEEPM BEEPR BEEPL AIN NC
27
NC
40 41 42 43 44 45 46 47 48 49 50 51 52 10 11 12 13 1 2 3 4 5 6 7 8 9
26 25 24 23 22 21
NC MCKO BICK LRCK SDTO SDTI I2C CDTO CDTI/SDA CCLK/SCL CSN/CAD1 PDN CAD0
AK4640
Top View
20 19 18 17 16 15 14
MICOUT
VCOM
VCOC
AVDD
PVDD
AVSS
PVSS
MPE
EXT
MPI
INT
MS0273-E-02 -4-
NC
NC
2005/04
ASAHI KASEI
[AK4640]
Comparison with AK4534, AK4538
1. Function Function SPK-Amp Output Power at DAC path DAC Digital Filter Stopband Attenuation AUX Input MOUT Gain Select Path from IPGA to Analog Output HP-Amp Mono mode Stereo Line Out MIC Detect HP-Amp Power Supply Current (typ) SPK-Amp Power Supply Current (typ) Package
AK4534 150mW 43dB Not Available Not Available Not Available Not Available Not Available Not Available 6.5mA 9mA 52pin QFN (7.2mm x 7.2mm)
AK4538 150mW 43dB Available Available Available Available Available Available 6.5mA 9mA 52pin QFN (7.2mm x 7.2mm)
AK4640 300mW 59dB Available Available Available Available Not Available Not Available 4mA 7mA 52pin QFN (7.2mm x 7.2mm), 57pin BGA (5mm x 5mm)
2. Pin Pin# 2 42 43 46 47 3. Register Addr 00H 02H 03H
AK4534 TST1 TST2 TST3 TST4 TST5
AK4538 MDT ROUT LOUT AUXIN- AUXIN+
AK4640VN NC NC NC AUXIN- AUXIN+
05H
07H 0EH
0FH
Data D2 D4 D4 D7 D4 D5 D6 D2 D3 D4 D7 D3-0 D6-4 D7 D0
AK4534 0 0 0 0 0 0 0 0 HPLM HPRM 0 0 0 0 -
AK4538 PMAUX PMLO MICM MOGN MICL AUXL PSLO HPM HPLM HPRM AUXAD GN3-0 ATTS2-0 ATTM DTMIC
AK4640 PMAUX 0 MICM MOGN MICL AUXL 0 HPM 0 0 AUXAD GN3-0 ATTS2-0 ATTM -
MS0273-E-02 -5-
2005/04
ASAHI KASEI
[AK4640]
PIN/FUNCTION (AK4640VG)
No. A1 B1 C1 C2 D1 D2 E1 E2 F2 F1 G2 G1 H1 J1 J2 H2 H3 J3 H4 J4 H5 J5 J6 H6 H7 J7 H8 Pin Name NC EXT MPE MPI INT VCOM AVSS AVDD AVDD PVDD PVSS VCOC CAD0 NC PDN CSN CAD1 CCLK SCL CDTI SDA CDTO I2C SDTI SDTO LRCK BICK NC MCKO DVDD I/O I O O I O O I I I I I I I I/O O I I O I/O I/O O Function No Connect. No internal bonding. This pin should be left floating. External Microphone Input Pin MIC Power Supply Pin for External Microphone MIC Power Supply Pin for Internal Microphone Internal Microphone Input Pin Common Voltage Output Pin, 0.45 x AVDD Bias voltage of ADC inputs and DAC outputs. Analog Ground Pin Analog Power Supply Pin Analog Power Supply Pin PLL Power Supply Pin PLL Ground Pin Output Pin for Loop Filter of PLL Circuit This pin should be connected to PVSS with one resistor and capacitor in series. Chip Address 0 Select Pin No Connect. No internal bonding. This pin should be left floating. Power-Down Mode Pin "H": Power up, "L": Power down reset and initializes the control register. Chip Select Pin (I2C pin = "L") Chip Address 1 Select Pin (I2C pin = "H") Control Data Clock Pin (I2C pin = "L") Control Data Clock Pin (I2C pin = "H") Control Data Input Pin (I2C pin = "L") Control Data Input Pin (I2C pin = "H") Control Data Output Pin (I2C pin = "L") Control Mode Select Pin "H": I2C Bus, "L": 4-wire Serial Audio Serial Data Input Pin Audio Serial Data Output Pin Input / Output Channel Clock Pin Audio Serial Data Clock Pin No Connect. No internal bonding. This pin should be left floating. Master Clock Output Pin Digital Power Supply Pin
MS0273-E-02 -6-
2005/04
ASAHI KASEI
[AK4640]
Function No Connect. J9 NC No internal bonding. This pin should be left floating. J8 DVSS Digital Ground Pin G8 XTO O X'tal Output Pin XTI I X'tal Input Pin H9 MCKI I External Master Clock Input Pin Master / Slave Mode Pin G9 M/S I "H" : Master Mode, "L" : Slave Mode F8 SPP O Speaker Amp Positive Output Pin F9 SPP O Speaker Amp Positive Output Pin E8 SPN O Speaker Amp Negative Output Pin E9 SPN O Speaker Amp Negative Output Pin D8 HVDD Headphone/Speaker Amp Power Supply Pin D9 HVDD Headphone/Speaker Amp Power Supply Pin C8 HVSS Headphone/Speaker Amp Ground Pin C9 HVSS Headphone/Speaker Amp Ground Pin B9 HPR O Rch Headphone Amp Output Pin No Connect. A9 NC No internal bonding. This pin should be left floating. A8 HPL O Lch Headphone Amp Output Pin Mute Time Constant Control Pin B8 MUTET O Connected to HVSS pin with a capacitor for mute time constant. No Connect. B7 NC No internal bonding. This pin should be left floating. A7 MIN I ALC2 Input Pin A6 MOUT2 O Analog Mixing Output Pin B6 MOUT- O Mono Line Negative Output Pin A5 MOUT+ O Mono Line Positive Output Pin B5 AUXIN- I Mono AUX Negative Input Pin B4 AUXIN+ I Mono AUX Positive Input Pin A4 BEEPM I Mono Beep Signal Input Pin B3 BEEPR I Rch Stereo Beep Signal Input Pin A3 BEEPL I Lch Stereo Beep Signal Input Pin B2 AIN I Analog Input Pin A2 MICOUT O Microphone Analog Output Pin No Connect. C3 NC No internal bonding. This pin should be left floating. Note: All input pins except analog input pins (INT, EXT, AIN, MIN, AUXIN+, AUXIN-, BEEPM, BEEPL, and BEEPR) should not be left floating.
No.
Pin Name
I/O
Handling of Unused Pin
The unused I/O pins should be processed appropriately as below. Classification Pin Name EXT, INT, MIN, AUXIN-, AUXIN+, BEEPM, Analog Input BEEPR, BEEPL, AIN MICOUT, MPE, MPI, VCOC, SPP, SPN, HPR, HPL, Analog Output MUTET, MOUT2, MOUT-, MOUT+ CAD0, CSN, CCLK, CDTI, I2C, SDTI, LRCK Digital Input (when M/S pin = "L"), BICK (when M/S pin = "L"), M/S CDTO, SDTO, LRCK (when M/S pin = "H"), BICK Digital Output (when M/S pin = "H"), MCKO, XTO
Setting These pins should be open and each path should be switched off. These pins should be open. These pins should be connected to DVSS.
These pins should be open.
MS0273-E-02 -7-
2005/04
ASAHI KASEI
[AK4640]
PIN/FUNCTION (AK4640VN)
No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Pin Name MICOUT NC EXT MPE MPI INT VCOM AVSS AVDD PVDD PVSS VCOC NC CAD0 PDN CSN CAD1 CCLK SCL CDTI SDA CDTO I2C SDTI SDTO LRCK BICK MCKO NC I/O O I O O I O O I I I I I I I I/O O I I O I/O I/O O Function Microphone Analog Output Pin No Connect. No internal bonding. This pin should be left floating. External Microphone Input Pin (Mono Input) MIC Power Supply Pin for External Microphone MIC Power Supply Pin for Internal Microphone Internal Microphone Input Pin (Mono Input) Common Voltage Output Pin, 0.45 x AVDD Bias voltage of ADC inputs and DAC outputs. Analog Ground Pin Analog Power Supply Pin PLL Power Supply Pin PLL Ground Pin Output Pin for Loop Filter of PLL Circuit This pin should be connected to PVSS with one resistor and capacitor in series. No Connect. No internal bonding. This pin should be left floating. Chip Address 0 Select Pin Power-Down Mode Pin "H": Power up, "L": Power down reset and initializes the control register. Chip Select Pin (I2C pin = "L") Chip Address 1 Select Pin (I2C pin = "H") Control Data Clock Pin (I2C pin = "L") Control Data Clock Pin (I2C pin = "H") Control Data Input Pin (I2C pin = "L") Control Data Input Pin (I2C pin = "H") Control Data Output Pin (I2C pin = "L") Control Mode Select Pin "H": I2C Bus, "L": 4-wire Serial Audio Serial Data Input Pin Audio Serial Data Output Pin Input / Output Channel Clock Pin Audio Serial Data Clock Pin Master Clock Output Pin No Connect. No internal bonding. This pin should be left floating.
MS0273-E-02 -8-
2005/04
ASAHI KASEI
[AK4640]
No. 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
Pin Name NC DVDD DVSS XTO XTI MCKI M/S SPP SPN HVDD HVSS HPR HPL MUTET MIN MOUT2 NC NC MOUT- MOUT+ AUXIN- AUXIN+ BEEPM BEEPR BEEPL AIN NC
I/O O I I I O O O O O I O O O I I I I I I -
Function No Connect. No internal bonding. This pin should be left floating. Digital Power Supply Pin Digital Ground Pin X'tal Output Pin X'tal Input Pin External Master Clock Input Pin Master / Slave Mode Pin "H" : Master Mode, "L" : Slave Mode Speaker Amp Positive Output Pin Speaker Amp Negative Output Pin Headphone Amp Power Supply Pin Headphone Amp Ground Pin Rch Headphone Amp Output Pin Lch Headphone Amp Output Pin Mute Time Constant Control Pin Connected to HVSS pin with a capacitor for mute time constant. ALC2 Input Pin Analog Mixing Output Pin No Connect. No internal bonding. This pin should be left floating. No Connect. No internal bonding. This pin should be left floating. Mono Line Negative Output Pin Mono Line Positive Output Pin Mono AUX Negative Input Pin Mono AUX Positive Input Pin Mono Beep Signal Input Pin Rch Stereo Beep Signal Input Pin Lch Stereo Beep Signal Input Pin Analog Input Pin No Connect. No internal bonding. This pin should be left floating.
Note: All input pins except analog input pins (INT, EXT, AIN, MIN, AUXIN+, AUXIN-, BEEPM, BEEPL, and BEEPR) should not be left floating.
Handling of Unused Pin
The unused I/O pins should be processed appropriately as below. Classification Pin Name EXT, INT, MIN, AUXIN-, AUXIN+, BEEPM, Analog Input BEEPR, BEEPL, AIN MICOUT, MPE, MPI, VCOC, SPP, SPN, HPR, HPL, Analog Output MUTET, MOUT2, MOUT-, MOUT+ CAD0, CSN, CCLK, CDTI, I2C, SDTI, LRCK Digital Input (when M/S pin = "L"), BICK (when M/S pin = "L"), M/S CDTO, SDTO, LRCK (when M/S pin = "H"), BICK Digital Output (when M/S pin = "H"), MCKO, XTO
Setting These pins should be open and each path should be switched off. These pins should be open. These pins should be connected to DVSS.
These pins should be open.
MS0273-E-02 -9-
2005/04
ASAHI KASEI
[AK4640]
ABSOLUTE MAXIMUM RATINGS (AVSS, DVSS, PVSS, HVSS=0V; Note 1) Parameter Symbol min Power Supplies: Analog AVDD -0.3 Digital DVDD -0.3 PLL PVDD -0.3 Headphone-Amp / Speaker-Amp HVDD -0.3 |AVSS - PVSS| (Note 2) GND1 |AVSS - DVSS| (Note 2) GND2 |AVSS - HVSS| (Note 2) GND3 Input Current, Any Pin Except Supplies IIN Analog Input Voltage VINA -0.3 Digital Input Voltage VIND -0.3 Ambient Temperature (powered applied) Ta -10 Storage Temperature Tstg -65
max 4.6 4.6 4.6 4.6 0.3 0.3 0.3 10 AVDD+0.3 DVDD+0.3 70 150
Units V V V V V V V mA V V C C
Note 1. All voltages with respect to ground. Note 2. AVSS, DVSS, PVSS and HVSS must be connected to the same analog ground plane.
WARNING: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is not guaranteed at these extremes.
RECOMMENDED OPERATING CONDITIONS (AVSS, DVSS, PVSS, HVSS=0V; Note 1) Parameter Symbol min typ Power Supplies Analog AVDD 2.4 3.3 (Note 3) Digital DVDD 2.4 3.3 PLL PVDD 2.4 3.3 HP / SPK-Amp HVDD 2.4 3.3
max 3.6 AVDD AVDD 3.6
Units V V V V
Note 1. All voltages with respect to ground. Note 3. The power up sequence between AVDD, DVDD, HVDD and PVDD is not critical. When the voltage difference among DVDD, PVDD and AVDD is larger than 0.3V, the power supply current at power down mode increases (see Note 19). When the power supplies are partially powered OFF, the AK4640 must be reset by bringing PDN pin "L" after these power supplies are powered ON again.
* AKM assumes no responsibility for the usage beyond the conditions in this datasheet.
MS0273-E-02 - 10 -
2005/04
ASAHI KASEI
[AK4640]
ANALOG CHARACTERISTICS (Ta=25C; AVDD, DVDD, PVDD, HVDD=3.3V; AVSS=DVSS=PVSS=HVSS=0V; fs=44.1kHz, BICK=64fs; Signal Frequency=1kHz; 16bit Data; Measurement frequency=20Hz 20kHz; unless otherwise specified) min typ max Units Parameter MIC Amplifier: Input Resistance 20 30 40 k (MGAIN bit = "0") 0 dB Gain (MGAIN bit = "1") 20 dB MIC Power Supply: Output Voltage (Note 4) 2.22 2.47 2.72 V Load Resistance 2 k 30 pF Load Capacitance Input PGA Characteristics: Input Resistance (Note 5) 5 10 15 k Step Size 0.1 0.5 0.9 dB Gain Control Range +27.5 dB -8 ADC Analog Input Characteristics: MIC Gain=20dB, IPGA=0dB, ALC1=OFF, MIC IPGA ADC Resolution 16 Bits Input Voltage (Note 6) 0.168 0.198 0.228 Vpp S/(N+D) 71 79 dBFS (-1dBFS) D-Range 75 83 dB (-60dBFS, A-weighted) S/N (A-weighted) 75 83 dB DAC Characteristics: Resolution 16 Bits Mono Line Output Characteristics: RL=20k, DAC MOUT+/MOUT- pins Output Voltage 0.31 Vpp MOGN bit = "1", -17dB (Note 7) MOGN bit = "0", +6dB 3.56 3.96 4.36 Vpp S/(N+D) (-3dBFS) 76 dBFS MOGN bit = "1", -17dB MOGN bit = "0", +6dB 79 89 dBFS S/N (A-weighted) MOGN bit = "1", -17dB 79 dB MOGN bit = "0", +6dB 85 95 dB Load Resistance 2 MOGN bit = "1", -17dB k MOGN bit = "0", +6dB 20 k Load Capacitance 30 pF
Note 4. Output voltage is proportional to AVDD voltage. Vout = 0.75 x AVDD(typ). Note 5. When IPGA Gain is changed, this typical value changes between 8k and 11k. Note 6. Input voltage is proportional to AVDD voltage. Vin = 0.06 x AVDD(typ). Note 7. Output voltage is proportional to AVDD voltage. Vout = 1.2 x AVDD(typ)@MOGN bit = "0" at Full-differential output. Vout = 0.6 x AVDD(typ)@MOGN bit = "0" at Single-end Output.
MS0273-E-02 - 11 -
2005/04
ASAHI KASEI
[AK4640]
min typ max Units Parameter Headphone-Amp Characteristics: RL=22.8, DAC HPL/HPR pins, DATT=0dB Output Voltage (Note 8) 1.54 1.92 2.30 Vpp S/(N+D) 60 70 dBFS (-3dBFS) S/N (A-weighted) 80 90 dB Interchannel Isolation 70 85 dB Interchannel Gain Mismatch 0.1 0.5 dB Load Resistance 20 (C1 in Figure 2) 30 pF Load Capacitance (C2 in Figure 2) 300 pF Speaker-Amp Characteristics: RL=8, BTL, DAC MOUT2 pin MIN pin SPP/SPN pins, ALC2=OFF Output Voltage 2.47 3.09 3.71 Vpp (-3dBFS) (Note 9) (0dBFS) 4.38 Vpp 50 64 dB (-3dBFS, Po=150mW) S/(N+D) (0dBFS, Po=300mW) 20 dB (ALC2=ON, Po=250mW) 60 dB S/N (A-weighted) 82 90 dB Load Resistance 8 Load Capacitance 30 pF BEEP Input: BEEPL, BEEPR, BEEPM pins Maximum Input Voltage (Note 10) 1.98 Vpp Output Voltage (Input Voltage=0.3Vpp, External Input Resistance=10k) BEEPL HPL 0.25 0.5 0.75 Vpp BEEPR HPR BEEPL SPP/N (BEEPR=No signal) 0.4 0.8 1.2 Vpp BEEPR SPP/N (BEEPL=No signal) BEEPM HPL 0.025 0.05 0.075 Vpp BEEPM HPR 0.67 1.34 2.01 Vpp BEEPM SPP/N Note 8. Output voltage is proportional to AVDD voltage. Vout = 0.582 x AVDD(typ). Note 9. Output voltage is proportional to AVDD voltage. Vout = 0.936 x AVDD(typ)@-3dBFS at Full-differential output. Note 10. BEEP-AMP can't output more than this maximum voltage.
HP-Amp
HPL/HPR pin 47F > 6.8 C1 C2 16
Figure 2. Headphone-amp output circuit
MS0273-E-02 - 12 -
2005/04
ASAHI KASEI
[AK4640]
min Parameter Mono Input: MIN pin Maximum Input Voltage (Note 11) Input Resistance (Note 12) 12 Mono Output: RL=10k, DAC MIX MOUT2 pin Output Voltage (Note 13) Load Resistance 10 Load Capacitance (Note 14) AUX Input: AUXIN+, AUXIN- pins Maximum Input Voltage (Note 15) Input Resistance 25 Step Size 1 Gain Control Range -21 Power Supplies Power Up (PDN pin = "H") All Circuit Power-up: AVDD+DVDD (Note 16) PVDD HVDD: HP-AMP Normal Operation No Output (Note 17) HVDD: SPK-AMP Normal Operation No Output (Note 18) Power Down (PDN pin = "L") (Note 19) AVDD+DVDD PVDD HVDD -
typ 1.98 24 1.94 1.98 40 3 -
max 36 30 55 5 +24
Units Vpp k Vpp k pF Vpp k dB dB
16 1.2 4 7 10 10 10
26 2 6 18 100 100 100
mA mA mA mA A A A
Note 11. Maximum Input Voltage is proportional to AVDD voltage. Vin = 0.6 x AVDD(typ). Note 12. When ALC2 Gain is changed, this typical value changes between 22k and 26k. Note 13. Output Voltage is proportional to AVDD voltage. Vout = 0.588 x AVDD(typ). Note 14. When the output pin drives a capacitive load, a resistor should be added in series between the output pin and capacitive load. Note 15. Maximum Input Voltage is proportional to AVDD voltage. Vin = 0.6 x AVDD(typ). Note 16. PMMIC=PMADC=PMDAC=PMMO=PMSPK=PMHPL=PMHPR=PMVCM=PMPLL=PMXTL=PMBPM= PMBPS=PMAUX= "1", MCKO= "1" and Master Mode. AVDD=10mA (typ.), DVDD=6mA (typ.). AVDD=10mA (typ.), DVDD=4mA (typ.) at MCKO= "0" in Slave Mode. Note 17. PMMIC=PMADC=PMDAC=PMMO=PMHPL=PMHPR=PMVCM=PMPLL= PMXTL=PMBPM=PMBPS= PMAUX= "1" and PMSPK= "0". Note 18. PMMIC=PMADC=PMDAC=PMMO=PMSPK=PMVCM=PMPLL=PMXTL= PMBPM=PMBPS=PMAUX= "1" and PMHPL=PMHPR= "0". Note 19. All digital input pins are fixed to DVDD or DVSS. When the voltage difference among DVDD, PVDD and AVDD is larger than 0.3V, the power supply current at power down mode increases.
MS0273-E-02 - 13 -
2005/04
ASAHI KASEI
[AK4640]
FILTER CHARACTERISTICS (Ta=-10 70C; AVDD, DVDD, PVDD, HVDD=2.4 3.6V; fs=44.1kHz; DEM=OFF) Parameter Symbol min typ ADC Digital Filter (Decimation LPF): Passband (Note 20) 0.1dB PB 0 20.0 -1.0dB 21.1 -3.0dB Stopband SB 25.7 Passband Ripple PR Stopband Attenuation SA 65 Group Delay (Note 21) GD 17.0 Group Delay Distortion 0 GD ADC Digital Filter (HPF): Frequency Response (Note 20) -3.0dB FR 3.4 10 -0.5dB 22 -0.1dB DAC Digital Filter: PB 0 Passband (Note 20) 0.1dB 20.0 -0.7dB 22.05 -6.0dB Stopband SB 25.2 Passband Ripple PR Stopband Attenuation SA 59 Group Delay (Note 21) GD 16.8 DAC Digital Filter + SCF: FR Frequency Response: 0 20.0kHz 1.0 (Note 22) BOOST Filter: Frequency Response MIN 20Hz FR 5.74 100Hz 2.92 1kHz 0.0 MID 20Hz FR 5.94 100Hz 4.71 1kHz 0.14 MAX 20Hz FR 16.04 100Hz 10.55 1kHz 0.3
max 17.4 0.1 19.6 0.01 -
Units kHz kHz kHz kHz dB dB 1/fs s Hz Hz Hz kHz kHz kHz kHz dB dB 1/fs dB dB dB dB dB dB dB dB dB dB
Note 20. The passband and stopband frequencies scale with fs (system sampling rate). For example, ADC is PB=0.454*fs (@-1.0dB), DAC is PB=0.454*fs (@-0.01dB). Note 21. The calculated delay time caused by digital filtering. This time is from the input of analog signal to setting of the 16bit data of both channels from the input register to the output register of the ADC. This time includes the group delay of the HPF. For the DAC, this time is from setting the 16bit data of both channels from the input register to the output of analog signal. Note 22. These frequency responses scale with fs. If a high-level and low frequency signal is input, the analog output clips to the full-scale.
MS0273-E-02 - 14 -
2005/04
ASAHI KASEI
[AK4640]
DC CHARACTERISTICS (Ta=-10 70C; AVDD, DVDD, PVDD, HVDD=2.4 3.6V) Parameter Symbol min High-Level Input Voltage VIH 70%DVDD Low-Level Input Voltage VIL Input Voltage at AC Coupling (Note 23) VAC 50%DVDD High-Level Output Voltage VOH (Iout=-200A) DVDD-0.2 Low-Level Output Voltage VOL (Except SDA pin: Iout=200A) (SDA pin: Iout=3mA) VOL Input Leakage Current Iin Note 23. The external clock is input to MCKI pin via AC coupled capacitor.
typ -
Max 30%DVDD 0.2 0.4 10
Units V V V V V V A
SWITCHING CHARACTERISTICS (Ta=-10 70C; AVDD, DVDD, PVDD, HVDD=2.4 3.6V; CL=20pF) Parameter Symbol min typ max Units Master Clock Timing Crystal Resonator Frequency 11.2896 12.288 MHz External Clock Frequency fCLK 2.048 12.288 MHz Pulse Width Low tCLKL 0.4/fCLK ns Pulse Width High tCLKH 0.4/fCLK ns AC Pulse Width (Note 24) tACW 0.4/fCLK ns MCKO Output Frequency fMCK 0.256 12.288 MHz Duty Cycle: except fs=32kHz dMCK 40 50 60 % fs=32kHz at 256fs (Note 25) dMCK 33 % LRCK Timing Frequency fs 8 48 kHz Duty Cycle Slave mode Duty 45 55 % Master mode Duty 50 % Audio Interface Timing Slave mode BICK Period tBCK 312.5 ns BICK Pulse Width Low tBCKL 130 ns Pulse Width High tBCKH 130 ns (Note 26) tLRB 50 ns LRCK Edge to BICK "" (Note 26) tBLR 50 ns BICK "" to LRCK Edge LRCK to SDTO (MSB) (Except I2S mode) tLRS 80 ns tBSD 80 ns BICK "" to SDTO SDTI Hold Time tSDH 50 ns SDTI Setup Time tSDS 50 ns Master mode BICK Frequency (BF bit = "0") fBCK 64fs Hz (BF bit = "1") fBCK 32fs Hz BICK Duty dBCK 50 % tMBLR 80 ns BICK "" to LRCK -80 tBSD 80 ns BICK "" to SDTO -80 SDTI Hold Time tSDH 50 ns SDTI Setup Time tSDS 50 ns Note 24. Pulse width to ground level when MCKI is connected to a capacitor in series and a resistor is connected to ground (Refer to Figure 4). Note 25. PMPLL bit = "1". Note 26. BICK rising edge must not occur at the same time as LRCK edge.
MS0273-E-02 - 15 -
2005/04
ASAHI KASEI
[AK4640]
Parameter Control Interface Timing (4-wire Serial mode): CCLK Period CCLK Pulse Width Low Pulse Width High CDTI Setup Time CDTI Hold Time CSN "H" Time CSN "" to CCLK "" CCLK "" to CSN "" CDTO Delay CSN "" to CDTO Hi-Z Control Interface Timing (I2C Bus mode): SCL Clock Frequency Bus Free Time Between Transmissions Start Condition Hold Time (prior to first clock pulse) Clock Low Time Clock High Time Setup Time for Repeated Start Condition SDA Hold Time from SCL Falling (Note 27) SDA Setup Time from SCL Rising Rise Time of Both SDA and SCL Lines Fall Time of Both SDA and SCL Lines Setup Time for Stop Condition Pulse Width of Spike Noise Suppressed by Input Filter Reset Timing PDN Pulse Width (Note 28) (Note 29) PMADC "" to SDTO valid
Symbol tCCK tCCKL tCCKH tCDS tCDH tCSW tCSS tCSH tDCD tCCZ fSCL tBUF tHD:STA tLOW tHIGH tSU:STA tHD:DAT tSU:DAT tR tF tSU:STO tSP tPD tPDV
min 200 80 80 40 40 150 50 50 4.7 4.0 4.7 4.0 4.7 0 0.25 4.0 0 150 -
typ 2081
max 50 70 100 1.0 0.3 50 -
Units ns ns ns ns ns ns ns ns ns ns kHz s s s s s s s s s s ns ns 1/fs
Note 27. Data must be held long enough to bridge the 300ns-transition time of SCL. Note 28. The AK4640 can be reset by the PDN pin = "L". Note 29. This is the count of LRCK "" from the PMADC bit = "1".
MS0273-E-02 - 16 -
2005/04
ASAHI KASEI
[AK4640]
Timing Diagram
1/fCLK VIH MCLK tCLKH 1/fs VIH LRCK VIL tBCK VIH VIL tBCKH fMCK tBCKL tCLKL VIL
BICK
MCKO dMCK dMCK
Figure 3. Clock Timing
50%DVDD
1/fCLK
1000pF MCKI Input 100k AGND Measurement Point AGND
tACW
tACW
VAC
Figure 4. MCKI AC Coupling Timing
MS0273-E-02 - 17 -
2005/04
ASAHI KASEI
[AK4640]
VIH LRCK VIL tBLR tLRB VIH BICK VIL tLRS tBSD
SDTO tSDS tSDH
50%DVDD
VIH SDTI VIL
Figure 5. Audio Interface Timing (Slave mode)
LRCK
50%DVDD
tMBLR
dBCK 50%DVDD
BICK
tBSD
SDTO tSDS tSDH
50%DVDD
VIH SDTI VIL
Figure 6. Audio Interface Timing (Master mode)
MS0273-E-02 - 18 -
2005/04
ASAHI KASEI
[AK4640]
VIH CSN VIL tCSS tCCKL tCCKH VIH CCLK VIL tCDS CDTI C1 C0 tCDH VIH R/W VIL Hi-Z
CDTO
Figure 7. WRITE/READ Command Input Timing
tCSW VIH CSN VIL tCSH VIH CCLK VIL
VIH CDTI D2 D1 D0 VIL Hi-Z
CDTO
Figure 8. WRITE Data Input Timing
MS0273-E-02 - 19 -
2005/04
ASAHI KASEI
[AK4640]
VIH CSN VIL
VIH CCLK VIL
VIH CDTI A1 A0 VIL tDCD CDTO Hi-Z D7 D6 50%DVDD
Figure 9. READ Data Output Timing 1
tCSW VIH CSN VIL tCSH VIH CCLK VIL
VIH CDTI VIL tCCZ Hi-Z
CDTO
D2
D1
D0
50%DVDD
Figure 10. READ Data Output Timing 2
MS0273-E-02 - 20 -
2005/04
ASAHI KASEI
[AK4640]
SDA
tBUF tLOW tR tHIGH tF tSP
VIH VIL
VIH SCL VIL
tHD:STA Stop Start
2
tHD:DAT
tSU:DAT
tSU:STA Start
tSU:STO Stop
Figure 11. I C Bus Mode Timing
PMADC bit tPDV
SDTO
50%DVDD
tPD PDN VIL
Figure 12. Power Down & Reset Timing
MS0273-E-02 - 21 -
2005/04
ASAHI KASEI
[AK4640]
OPERATION OVERVIEW Master Clock Source
The AK4640 requires a master clock (MCKI). This master clock is input to the AK4640 by connecting a X'tal oscillator to XTI and XTO pins or by inputting an external CMOS-level clock to the XTI pin or by inputting an external clock that is greater than 50% of the DVDD level to the XTI pin through a capacitor. When using a X'tal oscillator, there should be capacitors between XTI/XTO pins and DVSS. When using an external clock, there are two choices: direct, where an external clock is input directly to the XTI pin and indirect, where the external clock is input through a capacitor. Status PMXTL bit Oscillator ON 1 Oscillator OFF 0 External Clock Direct Input (Figure 14) Clock is input to MCKI pin. 0 MCKI pin is fixed to "L". 0 MCKI pin is fixed to "H". 0 MCKI pin is Hi-Z 0 AC Coupling Input (Figure 15) Clock is input to MCKI pin. 1 Clock isn't input to MCKI pin. 0 Table 1. Master Clock Status by PMXTL bit and MCKPD bit (Figure 13) (1) X'tal Oscillator Master Clock X'tal Oscillator MCKPD bit 0 1 0 0/1 0 1 0 1
XTI
MCKPD = "0" C 25k(typ) C PMXTL = "1"
XTO
AK4640
Figure 13. X'tal mode Note: The capacitor values depend on the X'tal oscillator used. (C: typ. 10 30pF)
MS0273-E-02 - 22 -
2005/04
ASAHI KASEI
[AK4640]
(2) External Clock Direct Input
XTI
External Clock MCKPD = "0" 25k(typ) PMXTL = "0"
XTO AK4640
Figure 14. External Clock mode (Input: CMOS Level) Note: This clock level must not exceed DVDD level. (3) AC Coupling Input
C External Clock
XTI
MCKPD = "0" 25k(typ) PMXTL = "1"
XTO AK4640
Figure 15. External Clock mode (Input: 50%DVDD) Note: This clock level must not exceed DVDD level. (C: 0.1F)
MS0273-E-02 - 23 -
2005/04
ASAHI KASEI
[AK4640]
System Clock
(1) PLL Mode (PMPLL bit = "1") A fully integrated analog phase locked loop (PLL) generates a clock that is selected by the PLL1-0 and FS2-0 bits (see Table 2 and Table 3). The frequency of the MCKO output is selectable via the PS1-0 bits registers as defined in Table 4 and the MCKO bit enables the MCKO output. The PLL should be powered-up after the X'tal oscillator becomes stable or external master clock is inputted. It takes X'tal oscillator 20ms(typ) to be stable after PMXTL bit="1". The PLL needs 40ms lock time, whenever the sampling frequency changes or the PLL is powered-up (PMPLL bit="0" "1"). If the sampling frequency is changed when the ADC or the DAC operates (PMADC bit = "1" or PMDAC bit = "1"), the click noise may occur. The click noise of headphone and speaker amps can be avoided by using the mute sequence examples (Figure 53 and Figure 54, respectively). LRCK and BICK are output from the AK4640 in master mode. When the clock input to MCKI pin stops during normal operation (PMPLL bit = "1"), the internal PLL continues to oscillate (a few MHz), and LRCK and BICK outputs go to "L" (see Table 5). In slave mode, the LRCK input should be synchronized with MCKO. The master clock (MCKI) should be synchronized with sampling clock (LRCK). The phase between these clocks does not matter. LRCK and BICK must be present whenever the AK4640 is operating (PMADC bit = "1" or PMDAC bit = "1"). If these clocks are not provided, the AK4640 may draw excess current due to its use of internal dynamically refreshed logic. If the external clocks are not present, place the AK4640 in power-down mode (PMADC bit = PMDAC bit = "0"). Mode 0 1 2 3 PLL1 PLL0 MCKI 0 0 12.288MHz 0 1 11.2896MHz 1 0 12MHz 1 1 N/A Table 2. MCKI Input Frequency (PLL Mode)
Default
FS2 0 0 0 0 1 1 1 1
FS1 FS0 Sampling Frequency 0 0 44.1kHz 0 1 22.05kHz 1 0 11.025kHz 1 1 48kHz 0 0 32kHz 0 1 24kHz 1 0 16kHz 1 1 8kHz Table 3. Sampling Frequency (PLL Mode)
Default
Mode PS1 PS0 MCKO 0 0 0 256fs Default 1 0 1 128fs 2 1 0 64fs 3 1 1 32fs Table 4. MCKO Frequency (PLL Mode, MCKO bit = "1")
MS0273-E-02 - 24 -
2005/04
ASAHI KASEI
[AK4640]
MCKI pin MCKO pin BICK pin LRCK pin
Master Mode (M/S pin = "H") Power up Power down PLL Unlock Frequency set by PLL1-0 Frequency set by PLL1-0 bits Refer to Table 1 bits (Refer to Table 2) (Refer to Table 2) MCKO bit = "0" : "L" MCKO bit = "0" : "L" "L" MCKO bit = "1" : Output MCKO bit = "1" : Unsettling BF bit = "0" : 64fs Output "L" "L" BF bit = "1" : 32fs Output Output "L" "L" Table 5. Clock Operation at Master Mode (PLL Mode)
MCKI pin MCKO pin BICK pin LRCK pin
Slave Mode (M/S pin = "L") Power up Power down PLL Unlock Frequency set by PLL1-0 bits Frequency set by PLL1-0 Refer to Table 1 (Refer to Table 2) bits (Refer to Table 2) MCKO bit = "0" : "L" MCKO bit = "0" : "L" "L" MCKO bit = "1" : Unsettling MCKO bit = "1" : Output Input Fixed to "L" or "H" externally Input Input Fixed to "L" or "H" externally Input Table 6. Clock Operation at Slave Mode (PLL Mode)
(2) External mode (PMPLL bit = "0") When the PMPLL bit = "0", the AK4640 works in external clock mode. The MCKO pin outputs a buffered clock of MCKI input. For example, when MCKI = 256fs, the sampling frequency is changeable from 8kHz to 48kHz (Table 7). The MCKO bit enables MCKO output. The frequency of MCKO is selectable via register the PS1-0 bits as defined in Table 8. If PS1-0 bits are changed before LRCK is input, MCKO is not output. PS1-0 bits should be changed after LRCK is input in slave mode. ). If the master clock frequency is changed when the ADC or the DAC operates (PMADC bit = "1" or PMDAC bit = "1"), the click noise may occur. The mute sequence examples (Figure 53 and Figure 54, respectively) are available to reduce the click noise of headphone and speaker amps. LRCK and BICK are output from the AK4640 in master mode. The clock to the MCKI pin must not stop during normal operation (PMPLL bit = "1"). If this clock is not provided, the AK4640 may draw excess current due to its use of internal dynamically refreshed logic. If the external clocks are not present, place the AK4640 in power-down mode (PMADC bit = PMDAC bit = "0"). MCKI, BICK and LRCK clocks are required in slave mode. The master clock (MCKI) should be synchronized with sampling clock (LRCK). The phase between these clocks does not matter. LRCK and BICK should always be present whenever the AK4640 is in normal operation (PMADC bit = "1" or PMDAC bit = "1"). If these clocks are not provided, the AK4640 may draw excess current due to its use of internal dynamically refreshed logic. If the external clocks are not present, place the AK4640 in power-down mode (PMADC bit = PMDAC bit = "0"). Mode 0 1 2 3 FS1 0 0 1 1 FS0 Sampling Frequency (fs) 0 8kHz 48kHz 1 8kHz 24kHz 0 8kHz 12kHz 1 8kHz 48kHz Table 7. Sampling Frequency Select (EXT Mode) MCKI 256fs 512fs 1024fs 256fs
Default
MS0273-E-02 - 25 -
2005/04
ASAHI KASEI
[AK4640]
Mode PS1 PS0 MCKO 0 0 0 256fs Default 1 0 1 128fs 2 1 0 64fs 3 1 1 32fs Table 8. MCKO Frequency (EXT Mode, MCKO bit = "1") Master Mode (M/S pin = "H") Power up Power down MCKO bit = "0" : "L" "L" MCKO pin MCKO bit = "1" : Output BF bit = "0" : 64fs Output BICK pin "L" BF bit = "1" : 32fs Output LRCK pin Output "L" Table 9. Clock Operation at Master Mode (EXT Mode) Slave Mode (M/S pin = "L") Power up Power down MCKO bit = "0" : "L" "L" MCKO pin MCKO bit = "1" : Output BICK pin Input Fixed to "L" or "H" externally LRCK pin Input Fixed to "L" or "H" externally Table 10. Clock Operation at Slave Mode (EXT Mode) The S/N of the DAC at low sampling frequencies is worse than at high sampling frequencies due to out-of-band noise. The out-of-band noise can be improved by using higher frequency of the master clock. The S/N of the DAC output through Headphone amp at fs=8kHz is shown in Table 11. MCKI S/N (fs=8kHz, A-weighted) 256fs 84dB 512fs 88dB 1024fs 88dB Table 11. Relationship between MCKI and S/N of HP-AMP
Master Mode/Slave Mode
The M/S pin selects either master or slave modes. M/S pin = "H" selects master mode and "L" selects slave mode. The AK4640 outputs MCKO, BICK and LRCK in master mode. The AK4640 outputs only MCKO in slave mode, while BICK and LRCK must be input separately. BICK / LRCK BICK = Input Slave Mode MCKO = Output LRCK = Input BICK = Output Master Mode MCKO = Output LRCK = Output Table 12. Master mode/Slave mode Mode MCKO
MS0273-E-02 - 26 -
2005/04
ASAHI KASEI
[AK4640]
System Reset
Upon power-up, reset the AK4640 by bringing the PDN pin = "L". This ensures that all internal registers are reset to their initial values. The ADC enters an initialization cycle that starts when the PMADC bit is changed from "0" to "1". The initialization cycle time is 2081/fs, or 47.2ms@fs=44.1kHz. During the initialization cycle, the ADC digital data outputs of both channels are forced to a 2's compliment, "0". The ADC output reflects the analog input signal after the initialization cycle is complete. The DAC does not require an initialization cycle.
Audio Interface Format
Three types of data formats are available and are selected by setting the DIF1-0 bits (Table 13). In all modes, the serial data is MSB first, 2's complement format. The SDTO is clocked out on the falling edge of BICK and the SDTI is latched on the rising edge. All data formats can be used in both master and slave modes. LRCK and BICK are output from AK4640 in master mode, but must be input to AK4640 in slave mode. If 16bit data that ADC outputs is converted to 8bit data by removing LSB 8bit, "-1" at 16bit data is converted to "-1" at 8bit data. And when the DAC playbacks this 8bit data, "-1" at 8bit data will be converted to "-256" at 16bit data and this is a large offset. This offset can be removed by adding the offset of "128" to 16bit data before converting to 8bit data. When LOOP bit = "1", audio interface format of SDTO is fixed to I2S regardless of DIF1-0 bits setting. Mode 0 1 2 3 DIF1 0 0 1 1 DIF0 0 1 0 1 SDTO (ADC) SDTI (DAC) MSB justified LSB justified MSB justified MSB justified I2S I2S N/A N/A Table 13. Audio Interface Format BICK 32fs 32fs 32fs N/A Figure Figure 16 Figure 17 Figure 18 -
Default
LRCK
0123 9 10 11 12 13 14 15 0 1 2 3 9 10 11 12 13 14 15 0 1
BICK(32fs) SDTO(o) SDTI(i) BICK(64fs) SDTO(o) SDTI(i)
15 14 13 Don't Care 15:MSB, 0:LSB Lch Data Rch Data 10 15 14 10 Don't Care 15 14 210 15 15 14 13 15 14 13 0123 76543210 7 6 5 4 3 2 1 0 15 14 13 15 16 17 18 31 0 1 2 3 15 7 6 5 4 3 2 1 0 15 15 16 17 18 31 0 1
Figure 16. Mode 0 Timing
MS0273-E-02 - 27 -
2005/04
ASAHI KASEI
[AK4640]
LRCK
0123 9 10 11 12 13 14 15 0 1 2 3 9 10 11 12 13 14 15 0 1
BICK(32fs) SDTO(o) SDTI(i) BICK(64fs) SDTO(o) SDTI(i)
15 14 13 15 14 13 15:MSB, 0:LSB Lch Data Rch Data 10 10 Don't Care 15 14 13 10 Don't Care 15 15 15 14 13 15 14 13 0123 76543210 7 6 5 4 3 2 1 0 15 14 13 15 16 17 18 31 0 1 2 3 15 7 6 5 4 3 2 1 0 15 15 16 17 18 31 0 1
Figure 17. Mode 1 Timing
LRCK
0123 9 10 11 12 13 14 15 0 1 2 3 9 10 11 12 13 14 15 0 1
BICK(32fs) SDTO(o) SDTI(i) BICK(64fs) SDTO(o) SDTI(i)
15 14 15 14 210 210 Don't Care 15 14 210 Don't Care 15 14 0 15 14 0123 876543210 8 7 6 5 4 3 2 1 0 15 14 15 16 17 18 31 0 1 2 3 876543210 15 16 17 18 31 0 1
15:MSB, 0:LSB Lch Data Rch Data
Figure 18. Mode 2 Timing
Digital High Pass Filter
The ADC has a digital high pass filter for DC offset cancellation. The cut-off frequency of the HPF is 3.4Hz (@fs=44.1kHz) and scales with sampling rate (fs).
MS0273-E-02 - 28 -
2005/04
ASAHI KASEI
[AK4640]
MIC Gain Amplifier
AK4640 has a Gain Amplifier for Microphone input. This gain is 0dB or +20dB, selected by the MGAIN bit (Table 14). The typical input impedance is 30k. MGAIN bit Input Gain 0 0dB 1 +20dB Default Table 14. MIC Input Gain
MIC Power
The MPI and MPE pins supply power for the Microphone. These output voltages are 0.75 x AVDD (typ) and the load resistance is 2k(min). No capacitor must be connected directly to MPI and MPE pins.
MIC Power MPI/MPE
2k Microphone INT/EXT MIC-Amp
Figure 19. MIC Power
MS0273-E-02 - 29 -
2005/04
ASAHI KASEI
[AK4640]
Manual Mode
The AK4640 becomes a manual mode at ALC1 bit = "0". This mode is used in the case shown below. 1. After exiting reset state, set up the registers for the ALC1 operation (ZTM1-0, LMTH and etc) 2. When the registers for the ALC1 operation (Limiter period, Recovery period and etc) are changed. For example; When the change of the sampling frequency. 3. When IPGA is used as a manual volume. When writing to the IPGA6-0 bits continually, the control register should be written by an interval more than zero crossing timeout.
MIC-ALC Operation
The ALC (Automatic Level Control) of MIC input is done by ALC1 block when ALC1 bit is "1". (1) ALC1 Limiter Operation When the ALC1 limiter is enabled, and IPGA output exceeds the ALC1 limiter detection level (LMTH), the IPGA value is attenuated by the amount defined in the ALC1 limiter ATT step (LMAT1-0 bits) automatically. When the ZELM bit = "1", the timeout period is set by the LTM1-0 bits. The operation for attenuation is done continuously until the input signal level becomes LMTH or less. If the ALC1 bit does not change into "0" after completing the attenuation, the attenuation operation repeats while the input signal level equals or exceeds LMTH. When the ZELM bit = "0", the timeout period is set by the ZTM1-0 bits. This enables the zero-crossing attenuation function so that the IPGA value is attenuated at the zero-detect points of the waveform. (2) ALC1 Recovery Operation The ALC1 recovery refers to the amount of time that the AK4640 will allow a signal to exceed a predetermined limiting value prior to enabling the limiting function. The ALC1 recovery operation uses the WTM1-0 bits to define the wait period used after completing an ALC1 limiter operation. If the input signal does not exceed the "ALC1 Recovery Waiting Counter Reset Level", the ALC1 recovery operation starts. The IPGA value increases automatically during this operation up to the reference level (REF6-0 bits). The ALC1 recovery operation is done at a period set by the WTM1-0 bits. Zero crossing is detected during WTM1-0 period, the ALC1 recovery operation waits WTM1-0 period and the next recovery operation starts. During the ALC1 recovery operation, when Lch or Rch input signal level exceeds the ALC1 limiter detection level (LMTH), the ALC1 recovery operation changes immediately into an ALC1 limiter operation. In the case of (Recovery waiting counter reset level) (IPGA Output Level) < (Limiter detection level) during the ALC1 recovery operation, the wait timer for the ALC1 recovery operation is reset. Therefore, in the case of (IPGA Output Level) < (Recovery waiting counter reset level), the wait timer for the ALC1 recovery operation starts. The ALC1 operation corresponds to the impulse noise. When the impulse noise is input, the ALC1 recovery operation becomes faster than a normal recovery operation.
MS0273-E-02 - 30 -
2005/04
ASAHI KASEI
[AK4640]
(3) Example of ALC1 Operation Table 15 shows the examples of the ALC1 setting. In case of this examples, ALC1 operation starts from 0dB. fs=8kHz Data Operatio n 1 -4dBFS 00 Don't use 0 Enable 00 16ms fs=16kHz Data Operatio n 1 -4dBFS 00 Don't use 0 Enable 01 16ms 16ms +27.5dB 0dB 1 step 1 step Enable fs=44.1kHz Data Operatio n 1 -4dBFS 00 Don't use 0 Enable 10 11.6ms 10 47H 10H 00 0 1 11.6ms +27.5dB 0dB 1 step 1 step Enable
Register Name LMTH LTM1-0 ZELM ZTM1-0 WTM1-0 REF6-0 IPGA6-0 LMAT1-0 RATT ALC1
Comment
Limiter detection Level Limiter operation period at ZELM = 1 Limiter zero crossing detection Zero crossing timeout period Recovery waiting period *WTM1-0 bits should be the same data 00 16ms 01 as ZTM1-0 bits Maximum gain at recovery operation 47H +27.5dB 47H Gain of IPGA before ALC1 operation 10H 0dB 10H start Limiter ATT Step 00 1 step 00 Recovery GAIN Step 0 1 step 0 ALC1 Enable bit 1 Enable 1 Table 15. Example of the ALC1 setting
The following registers should not be changed during the ALC1 operation. These bits should be changed after the ALC1 operation is finished by ALC1 bit = "0" or PMMIC bit = "0". * LTM1-0, LMTH, LMAT1-0, WTM1-0, ZTM1-0, RATT, REF6-0, ZELM bits IPGA gain at ALC1 operation start can be changed from the default value of IPGA6-0 bits while PMMIC bit is "1" and ALC1 bit is "0". When ALC1 bit is changed from "1" to "0", IPGA holds the last gain value set by ALC1 operation.
Example: Limiter = Zero crossing Enable Recovery Cycle = 16ms @ fs= 8kHz Limiter and Recovery Step = 1 Maximum Gain = +27.5dB Limiter Detection Level = -4dBFS Manual Mode ALC2 bit = "1" (default) (1) Addr=08H, Data=00H
WR (ZTM1-0, WTM1-0, LTM1-0)
WR (REF6-0)
(2) Addr=0AH, Data=47H
WR (IPGA6-0)
* The value of IPGA should be the same or smaller than REF's
(3) Addr=0BH, Data=10H
WR (ALC1= "1", LMAT1-0, RATT, LMTH, ZELM)
(4) Addr=09H, Data=61H
ALC1 Operation
Note : WR : Write Figure 20. Registers set-up sequence at ALC1 operation
MS0273-E-02 - 31 -
2005/04
ASAHI KASEI
[AK4640]
De-emphasis Filter
The AK4640 includes the digital de-emphasis filter (tc = 50/15s) by IIR filter. Setting the DEM1-0 bits enables the de-emphasis filter (Table 16). DEM1 0 0 1 1 DEM0 Mode 0 44.1kHz 1 OFF Default 0 48kHz 1 32kHz Table 16. De-emphasis Control
Bass Boost Function
The BST1-0 bits control the amount of low frequency boost applied to the DAC output signal (Table 17) . If the BST1-0 bits are set to "10" (MID Level), use a 47F capacitor for AC-coupling. If the boosted signal exceeds full scale, the analog output clips to the full scale. Figure 21 shows the boost frequency response at -20dB signal input.
Boost Frequency (fs=44.1kHz) 0 Output Level [dB] -5 -10 -15 -20 -25 0.01 0.1 Frequency [kHz]
Figure 21. Boost Frequency (fs=44.1kHz) BST1 BST0 Mode 0 0 OFF Default 0 1 MIN 1 0 MID 1 1 MAX Table 17. Low Frequency Boost Control MIN MAX MID
1
10
MS0273-E-02 - 32 -
2005/04
ASAHI KASEI
[AK4640]
Digital Attenuator
The AK4640 has a channel-independent digital attenuator (256 levels, 0.5dB step, Mute). The ATTL/R7-0 bits control the attenuation level of each channel. When the DATTC bit = "1", the ATTL7-0 bits control both Lch and Rch attenuation levels. When the DATTC bit = "0", the ATTL7-0 bits control Lch level and ATTR7-0 bits control Rch level. This attenuator has a soft transition function. It takes 1061/fs(24ms@fs=44.1kHz) from 00H(0dB) to FFH(MUTE). ATTL/R7-0 Attenuation 00H 0dB Default 01H -0.5dB 02H -1.0dB 03H -1.5dB : : : : FDH -126.5dB FEH -127.0dB FFH MUTE (-) Table 18. DATT Attenuation Table
Soft Mute
Soft mute operation is performed in the digital domain. When the SMUTE bit goes to a "1", the output signal is attenuated by - ("0") during the cycle set by the TM1-0 bits. When the SMUTE bit is returned to "0", the mute is cancelled and the output attenuation gradually changes to 0dB during the cycle set of the TM1-0 bits. If the soft mute is cancelled within the cycle set by the TM1-0 bits after starting the operation, the attenuation is discontinued and returned to 0dB. The soft mute is effective for changing the signal source without stopping the signal transmission (Figure 22). The soft mute function is independent of output volume and cascade connected between both functions.
SM U T E bit
TM 1-0 bit TM 1-0 bit
0dB Attenuation
(1) (3)
-
GD (2) Analog O utput GD
Figure 22. Soft Mute Function (1) The output signal is attenuated until - ("0") by the cycle set by the TM1-0 bits. (2) Analog output corresponding to digital input has the group delay (GD). (3) If the soft mute is cancelled within the cycle of setting the TM1-0 bits, the attenuation is discounted and returned to 0dB(the set value).
MS0273-E-02 - 33 -
2005/04
ASAHI KASEI
[AK4640]
AUX Input
"GN3-0"
AUXIN+ AUXIN-
"AUXL" Stereo Mixer
Volume "AUXAD"
Mixer for ADC
Figure 23. AUX Input AUX input is differential input. The AK4640 has a volume for AUX Input. GN3-0 bits control this Volume as shown in Table 19. The switching noise occurs when GN3-0 bits are changed. GN3-0 GAIN (dB) FH +24.0 EH +21.0 DH +18.0 : : 7H +0.0 Default : : 2H -15.0 1H -18.0 0H -21.0 Table 19. AUX Input Gain Setting
MS0273-E-02 - 34 -
2005/04
ASAHI KASEI
[AK4640]
BEEP Input
When the PMBPS bit is set to "1", the stereo beep input is powered up. And when the BPSHP bit is set to "1", the input signals from the BEEPL and BEEPR pins are mixed to Headphone-amp. When the BPSSP bit is set to "1", the input signals from the BEEPL and BEEPR pins are mixed to Speaker-amp. When the PMBPM bit is set to "1", mono beep input is powered up. And when the BPMHP bit is set to "1", the input signal from the BEEPM pin is mixed to Headphone-amp. When the BPMSP bit is set to "1", the input signal from the BEEPM pin is mixed to Speaker-amp. The external resisters Ri adjust the signal level of each BEEP input that is mixed to Headphone and Speaker outputs. When BPMSP bit is "1", the offset voltage between SPP and SPN pins may be large. Therefore, it is recommended that BPMSP bit be set to "0" while the beep signal is not output. Path Gain HPL; BEEPR HPR (16.7k / Ri) 50% SPP/N; BEEPR SPP/N (26.7k / Ri) 50% HPL; BEEPM HPR (1.67k / Ri) 50% SPP/N (44.7k / Ri) 50% Table 20. BEEP input gain Example (Ri=20k) -1.6dB 6dB +2.5dB 6dB -21.6dB 6dB +7.0dB 6dB
BEEPL BEEPL BEEPM BEEPM
20k(typ) Ri BEEPL -1.6dB BPMHP 20k(typ) Ri BEEPR -1.6dB BPSHP BPSSP 2k(typ) Ri BEEPM +2.5dB +2.5dB +27.0dB BPMSP SPK MIX -1.6dB HPR MIX BPSHP HPL MIX
AK4640
Figure 24. Block Diagram of BEEP pins
MS0273-E-02 - 35 -
2005/04
ASAHI KASEI
[AK4640]
Headphone Output
Power supply voltage for the Headphone-amp is supplied from the HVDD pin and centered on the HVDD/2 voltage. The Headphone output load resistance is min.20. When the PMHPL and PMHPR bits are "0", the common voltage of Headphone-amp falls and the outputs (HPL and HPR pins) go to "L" (HVSS). When the PMHPL and PMHPR bits are "1", the common voltage rises to HVDD/2. A capacitor between the MUTET pin and ground reduces click noise at power-up. [Example] : A capacitor between the MUTET pin and ground = 1.0F: Rise/fall time constant: = 100ms(typ), 250ms(max) Time until the common goes to HVSS when PMHPL/R bits = "1"
"0": 500ms(max)
When HPL and HPR bits are "1", the Headphone-amp is powered-down, and the outputs (HPL and HPR pins) go to "L" (HVSS).
PMHPL/R bit
HPL/R bit
HPL/R pin
(1) (2)
(3)
(4)
Figure 25. Power-up/Power-down Timing for Headphone-amp (1) Headphone-amp power-up (HPL, HPR bit= "0"). The outputs are still HVSS. (2) Headphone-amp common voltage rises up (PMHPL, PMHPR bit= "1"). Common voltage of Headphone-amp is rising. This rise time depends on the capacitor value connected with the MUTET pin. The time constant is = 100k(typ) x C when the capacitor value on MUTET pin is "C". (3) Headphone-amp common voltage falls down (PMHPL, PMHPR bit= "0"). Common voltage of Headphone-amp is falling. This fall time depends on the capacitor value connected with the MUTET pin. The time constant is = 100k(typ) x C when the capacitor value on MUTET pin is "C". (4) Headphone-amp power-down (HPL, HPR bit= "1"). The outputs are HVSS. If the power supply is switched off or Headphone-amp is powered-down before the common voltage goes to HVSS, some click noise occurs. It takes 2times of that the common voltage goes to GND.
MS0273-E-02 - 36 -
2005/04
ASAHI KASEI
[AK4640]
The cut-off frequency of Headphone-amp output depends on the external resistor and capacitor used. Table 21 shows the cut off frequency and the output power for various resistor/capacitor combinations. The headphone impedance RL is 16. Output powers are shown at HVDD = 2.7, 3.0 and 3.3V. The output voltage of headphone is 0.6 x AVDD (Vpp). When an external resistor R is smaller than 12, put an oscillation prevention circuit (0.22F20% capacitor and 1020% resistor) because it has the possibility that Headphone-amp oscillates.
HP-AMP R C Headphone 16
AK4640
0.22 +/- 20% 10 +/- 20%
Figure 26. External Circuit Example of Headphone R [] 6.2 16 6.2 16 C [F] 47 47 100 100 fc [Hz] fc [Hz] Output Power [mW] BOOST=OFF BOOST=MID 2.7V 3.0V 152.5 63 10.0 12.4 105.8 43 4.8 6.0 71.2 27 10.0 12.4 49.7 20 4.8 6.0 Table 21. External Circuit Example
3.3V 15.0 7.2 15.0 7.2
MS0273-E-02 - 37 -
2005/04
ASAHI KASEI
[AK4640]
Speaker Output
The output signal from analog volume is converted into a mono signal [(L+R)/2] and this signal is input to the Speaker-amp via the ALC2 circuit. This Speaker-amp is a mono output controlled by BTL and can output a maximum of 300mW@ALC2=OFF and 250mW@ALC2=ON at 8 load when HVDD = 3.3V. When BEEP input is used for DAC output, maximum power becomes 400mW. Figure 28 and Figure 29 indicates connection examples for 400mW output. ALC2 Po(max) 0 300mW 1 250mW Default Table 22. SPK-Amp Maximum Output Power Speaker blocks (MOUT2, ALC2 and Speaker-amp) can be powered up/down by controlling the PMSPK bit. When the PMSPK bit is "0", the MOUT2, SPP and SPN pins are placed in a Hi-Z state. When the SPPS bit is "0", the Speaker-amp enters power-save-mode. In this mode, the SPP pin is placed in a Hi-Z state and the SPN pin goes to HVDD/2 voltage. And then the Speaker output gradually changes to the HVDD/2 voltage and this mode can reduce click noise at power-up. When the AK4640 is powered down, click noise can be also reduced by first entering power-save-mode.
PMSPK bit
SPPS bit
SPP pin
Hi-Z
Hi-Z
SPN pin
Hi-Z
HVDD/2
HVDD/2
Hi-Z
>1ms
>0
Figure 27. Power-up/Power-down Timing for Speaker-amp [Connection Example for 400mW output] 1) Using BEEPM pin
AK4640
20k 30% SPK-Amp SPP
BPMSP SPN MOUT2 0.047u 45%AVDD BEEPM
16k
Figure 28. Connection example for 400mW output using BEEPM pin
MS0273-E-02 - 38 -
2005/04
ASAHI KASEI
[AK4640]
2) Using BEEPL and BEEPR pins
AK4640
20k 30%
BPSSP SPK-Amp 45%AVDD 20k 30% SPN SPP
BPSSP MOUT2 0.068u BEEPL 45%AVDD
20k
BEEPR
20k
Figure 29. Connection example for 400mW output using BEEPL and BEEPR pins Note) 1. MOUT2 output is recommended to be AC coupled to avoid amplified DC offset of common voltage of MOUT2 and BEEP-Amp is output via BTL Speaker-Amp (that means stand-by current is increased). Capacitor size affects the cut-off frequency of 1st order LPF made by this AC coupling capacitor and series resister in front of BEEP input. 2. Internal feedback resister of BEEP-Amp which determines BEEP-Amp gain has 30% sample variation.
Mono Output (MOUT2 pin)
The mixed Lch/Rch signal of DAC is output from the MOUT2 pin. When the MOUT2 bit is "0", this output is OFF and the MOUT2 pin is forced to VCOM voltage. The load impedance is 10k (min.). When the PMSPK bit is "0", the Speaker-amp enters power-down-mode and the output is placed in a Hi-Z state.
MS0273-E-02 - 39 -
2005/04
ASAHI KASEI
[AK4640]
Mono Output (MOUT+/MOUT- pins)
MICOUT pin AIN pin ATTM bit MIC In +20dB/0dB IPGA Lch DAMO bit 1/2 ATT+DAC 1/2 MOGN bit +6dB/-17dB MICM bit ATT
AK4640
MOUT+ pin MOUT- pin
Figure 30. Mono Line Output When DAMO bit is "1", mono mixer mixes Lch and Rch signal from DAC. This mixed signal is output to mono line output that is differential output. When MICM bit is "1", Lch signal from IPGA is output to mono line output. Either MOUT+ or MOUT- pin can be used as single-ended output pin. The load impedance is 20k (min.). When the PMMO bit is "0", the mono line output enters power-down-mode and the output is placed in a Hi-Z state. ATTL7-0 and ATTR7-0 bits set the volume control of DAC output. ATTM bit sets the volume control of IPGA Lch output. Amp for mono line output has 6dB gain and -17dB gain that are set by the MOGN bit.
MS0273-E-02 - 40 -
2005/04
ASAHI KASEI
[AK4640]
ALC2 Operation
Input resistance of the ALC2 (MIN pin) is 24k (typ) and centered around VCOM voltage. (see Figure 31. 0dBV=1Vrms =2.828Vpp) The limiter detection level is proportional to HVDD. The ALC2 circuit limits the output level when the input signal exceeds -5.2dBV (=FS-1.9dB@HVDD=3.3V). When a continuous signal of -5.2dBV or greater is input to the ALC2 circuit, the change period of the ALC2 limiter operation is set by the ROTM bit and the attenuation level is 0.5dB/step. The ALC2 recovery operation uses zero crossings and gains of 1dB/step. The ALC2 recovery operation is done until the input level of the Speaker-amp goes to -7.2dBV(=FS-3.9dB@HVDD=3.3V). The ROTM bit sets the ALC2 recovery operation period. When the input signal is between -5.2dBV and -7.2dBV, the ALC2 limiter or recovery operations are not done. When the PMSPK bit changes from "0" to "1", the initilization cycle (2048/fs = 46.4ms @fs=44.1kHz at ROTM bit = "0", 512/fs = 11.4ms @fs=44.1kHz at the ROTM bit = "1") starts. The ALC2 is disabled during the initilization cycle and the ALC2 starts after completing the initilization cycle. Parameter ALC2 Limiter operation ALC2 Recovery operation Operation Start Level -5.2dBV -7.2dBV ROTM bit = "0" 2048/fs = 46.4ms@fs=44.1kHz 2/fs = 45s@fs=44.1kHz Period ROTM bit = "1" 512/fs = 46.4ms@fs=11.025kHz 2/fs = 181s@fs=11.025kHz Zero-crossing Detection Disabled Enabled (Timeout = 2048/fs) ATT/GAIN 0.5dB step 1dB step Table 23. Limiter /Recovery of ALC2 at HVDD=3.3V
3.0dBV(250mW@8ohm) 1.0dBV
FS-1.9dB = -5.2dBV +8.2dB
0dBV
-3.3dBV -3.3dBV
FS
-8dB -11.3dBV
-1.9dB
+4.1dB
+8.2dB +2.2dB -3.0dBV +2.2dB -5.0dBV
Full-differential Single-ended
-10dBV FS-12dB
+8.1dB -15.3dBV -15.3dBV +16.1dB -8dB FS-3.9dB = -7.2dBV
-20dBV
-23.3dBV
-30dBV DATT DAC
ALC2 SPK-AMP
Figure 31. Speaker-amp Output Level Diagram (HVDD=3.3V, DATT=-8.0dB, ALC2= "1")
MS0273-E-02 - 41 -
2005/04
ASAHI KASEI
[AK4640]
Serial Control Interface
(1) 4-wire Serial Control Mode (I2C pin = "L") Internal registers may be written by using the 4-wire P interface pins (CSN, CCLK, CDTI and CDTO). The data on this interface consists of a 2-bit Chip address, Read/Write, Register address (MSB first, 5bits) and Control data (MSB first, 8bits). The chip address high bit is fixed to "1" and the lower bit is set by the CAD0 pin. Address and data is clocked in on the rising edge of CCLK and data is clocked out on the falling edge. After a low-to-high transition of CSN, data is latched for write operations and CDTO bit outputs Hi-Z. The clock speed of CCLK is 5MHz (max). The value of internal registers is initialized at PDN pin = "L".
CSN 0 CCLK 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
CDTI Write CDTO
C1
C0
R/W
A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
Hi-Z
CDTI Read CDTO
C1
C0
R/W
A4
A3
A2
A1
A0
Hi-Z C1 - C0 : Chip Address (C1="1", C0=CAD0) R/W : READ / WRITE ("1" : WRITE, "0" : READ) A4 - A0 : Register Address D7 - D0 : Control Data
D7
D6
D5
D4
D3
D2
D1
D0
Hi-Z
Figure 32. Serial Control I/F Timing
MS0273-E-02 - 42 -
2005/04
ASAHI KASEI
[AK4640]
(2) I2C-bus Control Mode (I2C pin = "H") The AK4640 supports the standard-mode I2C-bus (max: 100kHz). The AK4640 does not support a fast-mode I2C-bus system (max: 400kHz). (2)-1. WRITE Operations Figure 33 shows the data transfer sequence for the I2C-bus mode. All commands are preceded by a START condition. A HIGH to LOW transition on the SDA line while SCL is HIGH indicates a START condition (Figure 39). After the START condition, a slave address is sent. This address is 7 bits long followed by an eighth bit that is a data direction bit (R/W). The most significant five bits of the slave address are fixed as "00100". The next two bits are CAD1 and CAD0 (device address bits). These two bits identify the specific device on the bus. The hard-wired input pins (CAD1 and CAD0 pins) set these device address bits (Figure 34). If the slave address matches that of the AK4640, the AK4640 generates an acknowledge and the operation is executed. The master must generate the acknowledge-related clock pulse and release the SDA line (HIGH) during the acknowledge clock pulse (Figure 40). A R/W bit value of "1" indicates that the read operation is to be executed. A "0" indicates that the write operation is to be executed. The second byte consists of the control register address of the AK4640. The format is MSB first, and those most significant 3-bits are fixed to zeros (Figure 35). The data after the second byte contains control data. The format is MSB first, 8bits (Figure 36). The AK4640 generates an acknowledge after each byte has been received. A data transfer is always terminated by a STOP condition generated by the master. A LOW to HIGH transition on the SDA line while SCL is HIGH defines a STOP condition (Figure 39). The AK4640 can perform more than one byte write operation per sequence. After receipt of the third byte the AK4640 generates an acknowledge and awaits the next data. The master can transmit more than one byte instead of terminating the write cycle after the first data byte is transferred. After receiving each data packet the internal 5-bit address counter is incremented by one, and the next data is automatically taken into the next address. The data on the SDA line must remain stable during the HIGH period of the clock. The HIGH or LOW state of the data line can only change when the clock signal on the SCL line is LOW (Figure 41) except for the START and STOP conditions.
S T A R T
R/W="0"
S T O P Sub Address(n) Data(n) A C K A C K Data(n+1) A C K A C K Data(n+x) A C K P
SDA
Slave S Address A C K
Figure 33. Data Transfer Sequence at the I2C-Bus Mode
0
0
1
0
0
CAD1
CAD0
R/W
(Those CAD1/0 should match with CAD1/0 pins) Figure 34. The First Byte
0
0
0
A4
A3
A2
A1
A0
Figure 35. The Second Byte
D7
D6
D5
D4
D3
D2
D1
D0
Figure 36. Byte Structure after the second byte
MS0273-E-02 - 43 -
2005/04
ASAHI KASEI
[AK4640]
(2)-2. READ Operations Set the R/W bit = "1" for the READ operation of the AK4640. After transmission of data, the master can read the next address's data by generating an acknowledge instead of terminating the write cycle after the receipt of the first data word. After receiving each data packet the internal 5-bit address counter is incremented by one, and the next data is automatically taken into the next address. If the address exceeds 0FH prior to generating a stop condition, the address counter will "roll over" to 00H and the previous data will be overwritten. The AK4640 supports two basic read operations: CURRENT ADDRESS READ and RANDOM ADDRESS READ. (2)-2-1. CURRENT ADDRESS READ The AK4640 contains an internal address counter that maintains the address of the last word accessed, incremented by one. Therefore, if the last access (either a read or write) were to address n, the next CURRENT READ operation would access data from the address n+1. After receipt of the slave address with R/W bit set to "1", the AK4640 generates an acknowledge, transmits 1-byte of data to the address set by the internal address counter and increments the internal address counter by 1. If the master does not generate an acknowledge to the data but instead generates a stop condition, the AK4640 ceases transmission.
S T A R T
R/W="1"
S T O P Data(n) Data(n+1) A C K A C K Data(n+2) A C K A C K Data(n+x) A C K P
SDA
Slave S Address A C K
Figure 37. CURRENT ADDRESS READ (2)-2-2. RANDOM ADDRESS READ The random read operation allows the master to access any memory location at random. Prior to issuing the slave address with the R/W bit set to "1", the master must first perform a "dummy" write operation. The master issues a start request, a slave address (R/W bit = "0") and then the register address to read. After the register address is acknowledged, the master immediately reissues the start request and the slave address with the R/W bit set to "1". The AK4640 then generates an acknowledge, 1 byte of data and increments the internal address counter by 1. If the master does not generate an acknowledge to the data but instead generates a stop condition, the AK4640 ceases transmission.
S T A R T S T A R T Sub Address(n) A C K A C K
R/W="0"
R/W="1"
S T O P Data(n) Data(n+1) A C K A C K A C K Data(n+x) A C K P
SDA
Slave S Address
Slave S Address A C K
Figure 38. RANDOM ADDRESS READ
MS0273-E-02 - 44 -
2005/04
ASAHI KASEI
[AK4640]
SDA
SCL S start condition P stop condition
Figure 39. START and STOP Conditions
DATA OUTPUT BY TRANSMITTER not acknowledge DATA OUTPUT BY RECEIVER acknowledge SCL FROM MASTER S clock pulse for acknowledgement
1
2
8
9
START CONDITION
Figure 40. Acknowledge on the I2C-Bus
SDA
SCL
data line stable; data valid
change of data allowed
Figure 41. Bit Transfer on the I2C-Bus
MS0273-E-02 - 45 -
2005/04
ASAHI KASEI
[AK4640]
Register Map
Addr 00H 01H 02H 03H 04H 05H 06H 07H 08H 09H 0AH 0BH 0CH 0DH 0EH Register Name Power Management 1 Power Management 2 Signal Select 1 Signal Select 2 Mode Control 1 Mode Control 2 DAC Control MIC Control Timer Select ALC Mode Control 1 ALC Mode Control 2 Input PGA Control Lch Digital ATT Control Rch Digital ATT Control Volume Control D7 PMVCM MCKPD MOGN DAHS PLL1 FS2 TM1 0 0 0 0 0 ATTL7 ATTR7 ATTM D6 PMBPS PMXTL PSMO 0 PLL0 FS1 TM0 0 ROTM ALC2 REF6 IPGA6 ATTL6 ATTR6 ATTS2 D5 PMBPM PMPLL DAMO AUXL PS1 FS0 SMUTE AUXAD ZTM1 ALC1 REF5 IPGA5 ATTL5 ATTR5 ATTS1 D4 0 0 MICM MICL PS0 0 DATTC MPWRE ZTM0 ZELM REF4 IPGA4 ATTL4 ATTR4 ATTS0 D3 PMMO PMSPK BPSSP BPSHP MCKO 0 BST1 MPWRI WTM1 LMAT1 REF3 IPGA3 ATTL3 ATTR3 GN3 D2 PMAUX PMHPL BPMSP BPMHP BF HPM BST0 MICAD WTM0 LMAT0 REF2 IPGA2 ATTL2 ATTR2 GN2 D1 PMMIC PMHPR ALCS HPL DIF1 LOOP DEM1 MSEL LTM1 RATT REF1 IPGA1 ATTL1 ATTR1 GN1 D0 PMADC PMDAC MOUT2 HPR DIF0 SPPS DEM0 MGAIN LTM0 LMTH REF0 IPGA0 ATTL0 ATTR0 GN0
PDN pin = "L" resets the registers to their default values. Note: Unused bits must contain a "0" value. Note: Only write to address 00H to 0FH.
MS0273-E-02 - 46 -
2005/04
ASAHI KASEI
[AK4640]
Register Definitions
Addr 00H Register Name Power Management 1 R/W Default D7 PMVCM R/W 0 D6 PMBPS R/W 0 D5 PMBPM R/W 0 D4 0 RD 0 D3 PMMO R/W 0 D2 PMAUX R/W 0 D1 PMMIC R/W 0 D0 PMADC R/W 0
PMADC: ADC Block Power Control 0: Power down (Default) 1: Power up When the PMADC bit changes from "0" to "1", the initialization cycle (2081/fs=47.2ms@44.1kHz) starts. After initializing, digital data of the ADC is output. PMMIC: MIC In Block Power Control 0: Power down (Default) 1: Power up PMAUX: AUX In Power Control 0: Power down (Default) 1: Power up PMMO: Mono Line Out Power Control 0: Power down (Default) 1: Power up PMBPM: Mono BEEP In Power Control 0: Power down (Default) 1: Power up Even if PMBPM= "0", the path is still connected between BEEPM and HP/SPK-Amp. BPMHP and BPMSP bits should be set to "0" to disconnect these paths, respectively. PMBPS: Stereo BEEP In Power Control 0: Power down (Default) 1: Power up Even if PMBPS= "0", the path is still connected between BEEPL/R and HP/SPK-Amp. BPSHP and BPSSP bits should be set to "0" to disconnect these paths, respectively. PMVCM: VCOM Block Power Control 0: Power down (Default) 1: Power up Each block can be powered down respectively by writing "0" in each bit. When the PDN pin is "L", all blocks are powered down. When all bits except MCKPD bit are "0" in the 00H and 01H addresses, all blocks are powered down. The register values remain unchanged. IPGA gain is reset when PMMIC bit is "0" (refer to the IPGA6-0 bits description). When any of the blocks are powered up, the PMVCM bit must be set to "1". MCKI, BICK and LRCK must always be present unless PMMIC=PMADC=PMDAC=ALC2 bits = "0" or PDN pin = "L". The paths from BEEP to HP-Amp and SPK-Amp can operate without these clocks.
MS0273-E-02 - 47 -
2005/04
ASAHI KASEI
[AK4640]
Addr 01H
Register Name Power Management 2 R/W Default
D7 MCKPD R/W 1
D6 PMXTL R/W 0
D5 PMPLL R/W 0
D4 0 RD 0
D3 PMSPK R/W 0
D2 PMHPL R/W 0
D1 PMHPR R/W 0
D0 PMDAC R/W 0
PMDAC: DAC Block Power Control 0: Power down (Default) 1: Power up PMHPR: Rch of Headphone-Amp Common Voltage Power Control 0: Power down (Default) 1: Power up PMHPL: Lch of Headphone-Amp Common Voltage Power Control 0: Power down (Default) 1: Power up PMSPK: Speaker Block Power Control 0: Power down (Default) 1: Power up PMPLL: PLL Block Power Control Select 0: EXT Mode and Power down (Default) 1: PLL Mode and Power up PMXTL: X'tal Oscillation Block Power Control 0: Power down (Default) 1: Power up MCKPD: XTI/MCKI pin pull down control 0: Master Clock input enable 1: Pull down by 25k (Default)
MS0273-E-02 - 48 -
2005/04
ASAHI KASEI
[AK4640]
Addr 02H
Register Name Signal Select 1 R/W Default
D7 MOGN R/W 0
D6 PSMO R/W 0
D5 DAMO R/W 0
D4 MICM R/W 0
D3 BPSSP R/W 0
D2 BPMSP R/W 0
D1 ALCS R/W 0
D0 MOUT2 R/W 0
MOUT2: MOUT2 Output Enable (Mixing = (L+R)/2) 0: OFF (Default) 1: ON When the MOUT2 bit = "0", the MOUT2 pin outputs VCOM voltage. The MOUT2 pin outputs signal at the MOUT2 bit = "1". This bit is valid at the PMSPK bit = "1". Hi-Z is output at the PMSPK bit = "0". ALCS: ALC2 to Speaker-amp Enable 0: OFF (Default) 1: ON ALC2 output signal is mixed to Speaker-amp at the ALCS bit = "1". BPMSP: BEEPM to Speaker-amp Enable 0: OFF (Default) 1: ON Mono BEEP signal (BEEPM pin) is mixed to Speaker-amp at the BPMSP bit = "1". BPSSP: BEEPL/BEEPR to Speaker-amp Enable 0: OFF (Default) 1: ON Stereo BEEP signals (BEEPL/BEEPR pins) are mixed to Speaker-amp at the BPSSP bit = "1". MICM: Switch Control from Mic In to Mono Mixer. 0: OFF (Default) 1: ON IPGA output signal is output through Mono Line Output (MOUT+/MOUT-pins) at the MICM bit = "1". DAMO: DAC to MOUT+/MOUT- Enable 0: OFF (Default) 1: ON DAC output signal is output through Mono Line Output (MOUT+/MOUT- pins) at the DAMO bit = "1". PSMO: MOUT+/MOUT- Output Enable (Mixing = (L+R)/2) 0: Power Save Mode (Default) 1: Normal Operation When the PSMO bit = "0", Mono Line Output is in power save mode and the MOUT+ and MOUT- pins output 0.45 x AVDD voltage. MOGN: Gain control for mono output 0: +6dB (Default) 1: -17dB
MS0273-E-02 - 49 -
2005/04
ASAHI KASEI
[AK4640]
ATT
MIC In 0dB/+20dB IPGA MICL bit DAHS bit ATT+DAC ALC2
1/2 1/2
ALCS bit
SPK-AMP
AUXIN+ AUXINBEEPM BEEPL BEEPR
AUXL bit
Volume
BPMSP bit
BPSSP bit Figure 42. Speaker-amp switch control
Addr 03H
Register Name Signal Select 2 R/W Default
D7 DAHS R/W 0
D6 0 RD 0
D5 AUXL R/W 0
D4 MICL R/W 0
D3 BPSHP R/W 0
D2 BPMHP R/W 0
D1 HPL R/W 1
D0 HPR R/W 1
HPR: Rch of Headphone-Amp Power Control 0: Normal Operation 1: OFF(Default) HPL: Lch of Headphone-Amp Power Control 0: Normal Operation 1: OFF(Default) BPMHP: BEEPM to Headphone-amp Enable 0: OFF (Default) 1: ON Mono BEEP signal (BEEPM) is mixed to Headphone-amp at the BPMHP bit = "1". BPSHP: BEEPL/BEEPR to Headphone-amp Enable 0: OFF (Default) 1: ON Stereo BEEP signals (BEEPL/BEEPR) is mixed to Headphone-amp at the BPSHP bit = "1". MICL: IPGA to Headphone-amp and MOUT2 Enable 0: OFF (Default) 1: ON IPGA output signal is mixed to Headphone-amp and MOUT2 at the MICL bit = "1". AUXL: AUX IN to Stereo Mixer Enable 0: OFF (Default) 1: ON AUX input signal is mixed to Headphone-amp and MOUT2 at the AUXL bit = "1".
MS0273-E-02 - 50 -
2005/04
ASAHI KASEI
[AK4640]
DAHS: DAC to Headphone-amp and MOUT2 Enable 0: OFF (Default) 1: ON DAC signal is mixed to Headphone-amp and MOUT2 at the DAHS bit = "1".
MICL bit
HPL
ATT MIC IN 0dB/+20dB IPGA DAHS bit ATT+DAC AUXL bit
HPR
HPL
MUTE
AUXIN+ AUXINBEEPM IN BEEPL IN BEEPR IN
Volume BPMHP bit HPR
MUTE
BPSHP bit
Figure 43. Headphone-amp switch control
MS0273-E-02 - 51 -
2005/04
ASAHI KASEI
[AK4640]
Addr 04H
Register Name Mode Control 1 R/W Default
D7 PLL1 R/W 0
D6 PLL0 R/W 0
D5 PS1 R/W 0
D4 PS0 R/W 0
D3 MCKO R/W 0
D2 BF R/W 0
D1 DIF1 R/W 1
D0 DIF0 R/W 0
DIF1-0:
Audio Interface Format Select (Table 13) Default: "10" (ADC: I2S, DAC: I2S)
BF: BICK frequency Select at Master Mode 0: 64fs (Default) 1: 32fs This bit is invalid in slave mode. MCKO: Master Clock Output Enable 0: Disable (Default) 1: Enable PS1-0: Output Master Clock Select (Table 4, Table 8) Default: "00" (256fs) PLL1-0: Input Master Clock Select at PLL Mode (Table 2) Default: "00" (12.288MHz)
MS0273-E-02 - 52 -
2005/04
ASAHI KASEI
[AK4640]
Addr 05H
Register Name Mode Control 2 R/W Default
D7 FS2 R/W 0
D6 FS1 R/W 0
D5 FS0 R/W 0
D4 0 RD 0
D3 0 RD 0
D2 HPM R/W 0
D1 LOOP R/W 0
D0 SPPS R/W 0
SPPS: Speaker-amp Power-Save-Mode 0: Power Save Mode (Default) 1: Normal Operation When the SPPS bit = "1", the Speaker-amp is in power-save-mode and the SPP pin becomes Hi-Z and SPN pin is set to HVDD/2 voltage. When the PMSPK bit = "1", this bit is valid. After the PDN pin changes from "L" to "H", the PMSPK bit is "0", which powers down Speaker-amp LOOP: Loopback ON/OFF 0: OFF (Default) 1: ON When this bit is "1", the ADC output is passed to the DAC input internally. The external input data to DAC is ignored. HPM: Mono output select of Headphone 0: Stereo (Default) 1: Mono When the HPM bit = "1", (L+R)/2 signals are output to Lch and Rch of the Headphone-amp. FS2-0: Sampling frequency modes (Table 3, Table 7) Default: "000" (fs=44.1kHz)
MS0273-E-02 - 53 -
2005/04
ASAHI KASEI
[AK4640]
Addr 06H
Register Name DAC Control R/W Default
D7 TM1 R/W 0
D6 TM0 R/W 0
D5 SMUTE R/W 0
D4 DATTC R/W 1
D3 BST1 R/W 0
D2 BST0 R/W 0
D1 DEM1 R/W 0
D0 DEM0 R/W 1
DEM1-0: De-emphases response (Table 16) Default is "01" (OFF). BST1-0: Select Low Frequency Boost Function (Table 17) Default is "00" (OFF). DATTC: DAC Digital Attenuator Control Mode Select 0: Independent 1: Dependent (Default) When DATTC= "1", ATTL7-0 bits control both Lch and Rch at same time. ATTR7-0 bits are not changed when the ATTL7-0 bits are written. SMUTE: Soft Mute Control 0: Normal Operation (Default) 1: DAC outputs soft-muted Soft mute operation is independent of digital attenuator and is performed in the digital domain. TM1-0: Soft Mute Time Select (Table 24) Default: "00" (1024/fs) TM1 0 0 1 1 TM0 Cycle 0 1024/fs Default 1 512/fs 0 256/fs 1 128/fs Table 24. Soft Mute Time Setting
MS0273-E-02 - 54 -
2005/04
ASAHI KASEI
[AK4640]
Addr 07H
Register Name MIC/HP Control R/W Default
D7 0 RD 0
D6 0 RD 0
D5 AUXAD R/W 0
D4 MPWRE R/W 0
D3 MPWRI R/W 0
D2 MICAD R/W 0
D1 MSEL R/W 0
D0 MGAIN R/W 1
MGAIN: 1st Mic-amp Gain control 0: 0dB 1: +20dB (Default) MSEL: Microphone select 0: Internal MIC (Default) 1: External MIC MICAD: Switch Control from Mic In to ADC 0: OFF (Default) 1: ON ALC1 output signal is input to ADC when MICAD bit = "1". MPWRI: Power Supply Control for Internal Microphone 0: OFF (Default) 1: ON The setting of MPWRI is enabled when PMMICL bit = "1". MPWRE: Power Supply for External Microphone 0: OFF (Default) 1: ON The setting of MPWRE is enabled when PMMICL bit = "1". AUXAD: Switch Control from AUX IN to ADC. 0: OFF (Default) 1: ON AUX input signal is input to ADC when AUXAD bit = "1".
MS0273-E-02 - 55 -
2005/04
ASAHI KASEI
[AK4640]
Addr 08H
Register Name Timer Select R/W Default
D7 0 RD 0
D6 ROTM R/W 0
D5 ZTM1 R/W 0
D4 ZTM0 R/W 0
D3 WTM1 R/W 0
D2 WTM0 R/W 0
D1 LTM1 R/W 0
D0 LTM0 R/W 0
LTM1-0: ALC1 limiter operation period at zero crossing disable (see Table 25) The IPGA value is changed immediately. When the IPGA value is changed continuously, the change is done by the period specified by the LTM1-0 bits. Default is "00" (0.5/fs). LTM1 ALC1 Limiter Operation Period 8kHz 16kHz 44.1kHz 0 0 0.5/fs Default 63s 31s 11s 0 1 1/fs 125s 63s 23s 1 0 2/fs 250s 125s 45s 1 1 4/fs 500s 250s 91s Table 25. ALC1 Limiter Operation Period at zero crossing disable (ZELM bit = "1") LTM0
WTM1-0: ALC1 Recovery Waiting Period (see Table 26) A period of recovery operation when any limiter operation does not occur during the ALC1 operation. Default is "00" (128/fs). WTM1 0 0 1 1 WTM0 0 1 0 1 ALC1 Recovery Operation Waiting Period 8kHz 16kHz 44.1kHz 128/fs 16ms 8ms 2.9ms 256/fs 32ms 16ms 5.8ms 512/fs 64ms 32ms 11.6ms 1024/fs 128ms 64ms 23.2ms Table 26. ALC1 Recovery Operation Waiting Period
Default
ZTM1-0: Zero crossing timeout for the write operation by the P, ALC1 recovery, and zero crossing enable (ZELM bit = "0") of the ALC1 operation (see Table 27) When the IPGA performs zero crossing or timeout, the IPGA value is changed by the P WRITE operation, ALC1 recovery operation or ALC1 limiter operation (ZELM bit = "0"). Default is "00" (128/fs). ZTM1 0 0 1 1 ZTM0 0 1 0 1 Zero Crossing Timeout Period 8kHz 16kHz 128/fs 16ms 8ms 256/fs 32ms 16ms 512/fs 64ms 32ms 1024/fs 128ms 64ms Table 27. Zero Crossing Timeout Period
44.1kHz 2.9ms 5.8ms 11.6ms 23.2ms
Default
ROTM: Period time for ALC2 Recovery operation 0: 2048/fs (Default) 1: 512/fs
MS0273-E-02 - 56 -
2005/04
ASAHI KASEI
[AK4640]
Addr 09H
Register Name ALC Mode Control 1 R/W Default
D7 0 RD 0
D6 ALC2 R/W 1
D5 ALC1 R/W 0
D4 ZELM R/W 0
D3 LMAT1 R/W 0
D2 LMAT0 R/W 0
D1 RATT R/W 0
D0 LMTH R/W 0
LMTH:
ALC1 Limiter Detection Level / Recovery Waiting Counter Reset Level (see Table 28) The ALC1 limiter detection level and the ALC1 recovery counter reset level may be offset by about 2dB. Default is "0".
ALC1 Limiter Detection Level ALC1 Recovery Waiting Counter Reset Level
LMTH 0 1
ADC Input -6.0dBFS -6.0dBFS > ADC Input -8.0dBFS ADC Input -4.0dBFS -4.0dBFS > ADC Input -6.0dBFS Table 28. ALC1 Limiter Detection Level / Recovery Waiting Counter Reset Level
Default
RATT:
ALC1 Recovery GAIN Step (see Table 29) During the ALC1 recovery operation, the number of steps changed from the current IPGA value is set. For example, when the current IPGA value is 30H and RATT bit = "1" is set, the IPGA changes to 32H by the ALC1 recovery operation and the output signal level is gained up by 1dB (=0.5dB x 2). When the IPGA value exceeds the reference level (REF6-0 bits), the IPGA value does not increase. RATT GAIN STEP 0 1 Default 1 2 Table 29. ALC1 Recovery Gain Step Setting
LMAT1-0: ALC1 Limiter ATT Step (see Table 30) During the ALC1 limiter operation, when either Lch or Rch exceeds the ALC1 limiter detection level set by LMTH, the number of steps attenuated from the current IPGA value is set. For example, when the current IPGA value is 47H and the LMAT1-0 bits = "11", the IPGA transition to 43H when the ALC1 limiter operation starts, resulting in the input signal level being attenuated by 2dB (=0.5dB x 4). When the attenuation value exceeds IPGA = "00" (-8dB), it clips to "00". LMAT1 LMAT0 ATT STEP 0 0 1 Default 0 1 2 1 0 3 1 1 4 Table 30. ALC1 Limiter ATT Step Setting ZELM: Enable zero crossing detection at ALC1 Limiter operation 0: Enable (Default) 1: Disable When the ZELM bit = "0", the IPGA of each L/R channel perform a zero crossing or timeout independently and the IPGA value is changed by the ALC1 operation. The zero crossing timeout is the same as the ALC1 recovery operation. When the ZELM bit = "1", the IPGA value is changed immediately.
MS0273-E-02 - 57 -
2005/04
ASAHI KASEI
[AK4640]
ALC1: ALC1 Enable 0: ALC1 Disable (Default) 1: ALC1 Enable ALC2: ALC2 Enable 0: ALC2 Disable 1: ALC2 Enable (Default)
Addr 0AH
Register Name ALC Mode Control 2 R/W Default
D7 0 RD 0
D6 REF6 R/W 0
D5 REF5 R/W 1
D4 REF4 R/W 1
D3 REF3 R/W 0
D2 REF2 R/W 1
D1 REF1 R/W 1
D0 REF0 R/W 0
REF6-0: Reference value at ALC1 Recovery Operation (see Table 31) During the ALC1 recovery operation, if the IPGA value exceeds the setting reference value by gain operation, then the IPGA does not become larger than the reference value. For example, when REF7-0 = "30H", RATT = 2step, IPGA = 2FH, even if the input signal does not exceed the "ALC1 Recovery Waiting Counter Reset Level", the IPGA does not change to 2FH + 2step = 31H, and keeps 30H. Default is "36H". DATA (HEX) GAIN (dB) STEP 47 +27.5 46 +27.0 45 +26.5 : : 36 +19.0 Default : : 10 +0.0 : : 0.5dB 06 -5.0 05 -5.5 04 -6.0 03 -6.5 02 -7.0 01 -7.5 00 -8.0 Table 31. Setting Reference Value at ALC1 Recovery Operation
MS0273-E-02 - 58 -
2005/04
ASAHI KASEI
[AK4640]
Addr 0BH
Register Name Input PGA Control R/W Default
D7 0 RD 0
D6 IPGA6 R/W 0
D5 IPGA5 R/W 0
D4 IPGA4 R/W 1
D3 IPGA3 R/W 0
D2 IPGA2 R/W 0
D1 IPGA1 R/W 0
D0 IPGA0 R/W 0
IPGA6-0: Input Analog PGA (see Table 32) Default: "10H" (0dB) When IPGA gain is changed, IPGA6-0 bits should be written while PMMIC bit is "1" and ALC1 bit is "0". IPGA gain is reset when PMMIC bit is "0", and then IPGA operation starts from the default value when PMMIC is changed to "1". When ALC1 bit is changed from "1" to "0", IPGA holds the last gain value set by ALC1 operation. When IPGA6-0 bits are read, the register values written by the last write operation are read out regardless the actual gain. DATA (HEX) 47 46 45 : 36 : 10 : 06 05 04 03 02 01 00 GAIN (dB) STEP +27.5 +27.0 +26.5 : +19.0 : +0.0 : 0.5dB -5.0 -5.5 -6.0 -6.5 -7.0 -7.5 -8.0 Table 32. Input Gain Setting
Default
Addr 0CH 0DH
Register Name Lch Digital ATT Control Rch Digital ATT Control R/W Default
D7 ATTL7 ATTR7 R/W 0
D6 ATTL6 ATTR6 R/W 0
D5 ATTL5 ATTR5 R/W 0
D4 ATTL4 ATTR4 R/W 0
D3 ATTL3 ATTR3 R/W 0
D2 ATTL2 ATTR2 R/W 0
D1 ATTL1 ATTR1 R/W 0
D0 ATTL0 ATTR0 R/W 0
ATTL/R7-0: Digital ATT Output Control (see Table 18) Default: "00H" (0dB)
MS0273-E-02 - 59 -
2005/04
ASAHI KASEI
[AK4640]
Addr 0EH
Register Name Volume Control R/W Default
D7 ATTM R/W 0
D6 ATTS2 R/W 1
D5 ATTS1 R/W 0
D4 ATTS0 R/W 1
D3 GN3 R/W 0
D2 GN2 R/W 1
D1 GN1 R/W 1
D0 GN0 R/W 1
GN3-0: Volume Control of AUX In (see Table 19) ATTS2-0: Attenuator select of signal from MIC IN to Stereo Mixer (see Table 33) ATTS2-0 Attenuation 7H -6dB 6H -9dB Default 5H -12dB 4H -15dB 3H -18dB 2H -21dB 1H -24dB 0H -27dB Table 33. Attenuation Table ATTM: Attenuator control for signal from MIC IN to Mono Mixer 0: OFF. 0dB (Default) 1: ON. -4dB
MS0273-E-02 - 60 -
2005/04
ASAHI KASEI
[AK4640]
SYSTEM DESIGN (AK4640VG)
Figure 44 shows the system connection diagram for the AK4640VG. An evaluation board [AKD4640] is available which demonstrates the optimum layout, power supply arrangements and measurement results.
1 1 R R 1 1 R 1 1 C C 1 1 10 0.22 6.8 16 47 16
NC
1
MICOUT BEEPL
BEEPM MOUT+ MOUT2
MIN
HPL
NC
6.8 0.22 10
EXT
2.2k 2.2k 1
AIN
BEEPR AUXIN+ AUXIN- MOUT-
NC
MUTET
HPR
MPE
MPI
NC
HVSS
HVSS
0.1 10 Analog Supply 2.4 ~ 3.6V
INT
2.2 Analog Supply 2.4 ~ 3.6V 10 0.1 0.1
VCOM
HVDD
HVDD
Top View
AVSS AVDD SPN SPN
8
PVDD
10 0.1 10k
AVDD
SPP
SPP
4.7n
VCOC
PVSS
XTO
M/S
C C
CAD0
CSN /CAD1 PDN
CCLK /SCL CDTI /SDA
CDTO
SDTI
BICK
NC
DVDD
XTI /MCKI NC
NC
I2C
SDTO
LRCK
MCKO
DVSS
10 0.1
Reset
DSP and uP
10
Notes: - AVSS, DVSS, PVSS and HVSS of the AK4640 should be distributed separately from the ground of external controllers. - Values of R and C in Figure 44 should depend on system. - All input pins should not be left floating. Figure 44. Typical Connection Diagram (AK4640VG)
MS0273-E-02 - 61 -
2005/04
ASAHI KASEI
[AK4640]
SYSTEM DESIGN (AK4640VN)
Figure 45 shows the system connection diagram for the AK4640VN. An evaluation board [AKD4640] is available which demonstrates the optimum layout, power supply arrangements and measurement results.
1 R NC 52 AIN 51 BEEPL 50 R BEEPR 49 1 R BEEPM 48 AUXIN+ 47 AUXIN- 46 MOUT+ 45 MOUT- 44 NC 43 NC 42 MOUT 41 MIN 40 10 0.22 1 MUTET 39 HPL 38 HPR 37 HVSS 36 0.1 5 MPI 1 6 INT 0.1 0.1 9 AVDD 10 PVDD 10 0.1 11 PVSS 10k 4.7n 12 VCOC 16 CSN/CAD1 17 CCLK/SCL 13 NC 14 CAD0 15 PDN 18 CDTI/SDA DVSS 29 0.1 DVDD 28 NC 27 25 MCKO 19 CDTO 22 SDTO 23 LRCK 24 BICK 21 SDTI 20 I2C 26 NC 10 10 XTI/MCKI 31 XTO 30 C C 7 VCOM 8 AVSS 10 SPN 34 HVDD 35 8 10 6.8 47 6.8 0.22 10 16 16 1 1 1 C C 1
1
1 MICOUT 2 NC 1 3 EXT 2.2k 4 MPE 2.2k
Analog Supply 2.4 ~ 3.6V
Top View
SPP 33 M/S 32
2.2 Analog Supply 2.4 ~ 3.6V
Reset
DSP and uP
Notes: - AVSS, DVSS, PVSS and HVSS of the AK4640 should be distributed separately from the ground of external controllers. - Values of R and C in Figure 45 should depend on system. - All digital input pins should not be left floating. Figure 45. Typical Connection Diagram (AK4640VN)
MS0273-E-02 - 62 -
2005/04
ASAHI KASEI
[AK4640]
1. Grounding and Power Supply Decoupling
The AK4640 requires careful attention to power supply and grounding arrangements. AVDD, DVDD, PVDD and HVDD are usually supplied from the system's analog supply. If AVDD, DVDD, PVDD and HVDD are supplied separately, the correct power up sequence should be observed. AVSS, DVSS, PVSS and HVSS of the AK4640 should be connected to the analog ground plane. System analog ground and digital ground should be connected together near to where the supplies are brought onto the printed circuit board. Decoupling capacitors should be as near to the AK4640 as possible, with the small value ceramic capacitor being the nearest.
2. Voltage Reference
VCOM is a signal ground of this chip. A 2.2F electrolytic capacitor in parallel with a 0.1F ceramic capacitor attached to the VCOM pin eliminates the effects of high frequency noise. No load current may be drawn from the VCOM pin. All signals, especially clocks, should be kept away from the VREF and VCOM pins in order to avoid unwanted coupling into the AK4640.
3. Analog Inputs
The Mic and Beep inputs are single-ended. The input signal range scales with nominally at 0.06 x AVDD Vpp for the Mic input and 0.6 x AVDD Vpp for the Beep input, centered around the internal common voltage (approx. 0.45 x AVDD). Usually the input signal is AC coupled using a capacitor. The cut-off frequency is fc = (1/2RC). The AK4640 can accept input voltages from AVSS to AVDD.
4. Analog Outputs
The input data format for the DAC is 2's complement. The output voltage is a positive full scale for 7FFFH(@16bit) and a negative full scale for 8000H(@16bit). Mono output from the MOUT2 pin and Mono Line Output from the MOUT+ and MOUT- pins are centered at 0.45 x AVDD. The Headphone-Amp and Speaker-Amp outputs are centered at HVDD/2.
MS0273-E-02 - 63 -
2005/04
ASAHI KASEI
[AK4640]
CONTOROL SEQUENCE Power up
Upon power-up, bring the PDN pin = "L". Initialize the internal registers to default values after the PDN pin = "H". When the power supplies are partially powered OFF, the AK4640 must be reset by bringing PDN pin "L" after these power supplies are powered ON again. Set the following registers to establish the initial condition.
Pow er Supply
(2)
E x a m p le :
A ud io I/F F o rm a t : I S B IC K f re q u e nc y a t M a s te r M o d e : 6 4 f s Inp ut M a s te r C lo c k S e le c t a t P L L M o d e : 1 1 .2 8 9 6 M H z
2
PDN pin
(3)
(1 )
P o w e r S u p p ly
PMVCM bit
(Addr:00H, D7) (4)
(2 ) P D N p in = "L " "H "
MOUT2 bit
(Addr:02H, D0)
(3 ) A d d r:0 0 H , D a ta 8 0 H
ALCS bit
(Addr:02H, D1) (5)
(4 ) A d d r:0 2 H , D a ta 0 3 H
HPL/R bits
(Addr:03H, D1-0)
(5 ) A d d r:0 3 H , D a ta 8 0 H
DAHS bit
(Addr:03H, D7) (6)
(6 ) A d d r:0 4 H , D a ta 4 2 H
DIF1-0 bits
(Addr:04H, D1-0)
10 0 00
XX X XX
BF bit
(Addr:04H, D2)
PLL1-0 bits
(Addr:04H, D7-6)
Figure 46. Power Up Sequence
(1) Power Supply (2) PDN pin = "L" "H" "L" time of 150ns or more is needed to reset the AK4640. (3) Power up VCOM : PMVCM bit = "0" "1" VCOM should first be powered up before the other block operates. (4) Set up register 02H : MOUT2 bit = ALCS bit = "0" "1" Set the MOUT2 and ALCS bits to "1" when using the Speaker-amp. (5) Set up register 03H : HPL bit = HPR bit = "1" "0", DAHS bit = "0" "1" (6) Set up register 04H * DIF1-0 bits set the audio interface format. * BF bit sets BICK output frequency in master mode. * PLL1-0 bits set MCKI input frequency in PLL mode.
MS0273-E-02 - 64 -
2005/04
ASAHI KASEI
[AK4640]
Clock Set up
When ADC, DAC, ALC1 and ALC2 are used, the clocks (MCKI, BICK and LRCK) must be supplied. 1. When X'tal is used in PLL mode. (Slave mode)
MCKPD bit
(Addr:01H, D7) (1)
E x a m p le :
A u d io I/F F o r m a t : I S B IC K f re q u e nc y a t M a s te r M o d e : 6 4 f s I np u t M a s t e r C lo c k S e le c t a t P L L M o d e : 1 1 .2 8 9 6 M H z O utp u t M a s te r C lo c k F re q ue n c y : 6 4 f s
2
PMXTL bit
(Addr:01H, D6)
PMPLL bit
(Addr:01H, D5)
20ms(typ)
(2) 40ms(max)
(1 ) A d d r:0 1 H , D a ta :4 0 H
(2 ) A d d r:0 1 H , D a ta :6 0 H
MCKO bit
(Addr:04H, D3) (3) (4)
(3 ) A d d r:0 4 H , D a ta 4 A H
MCKO pin
(5)
Output
(4 ) M C K O o u tp u t s ta rts
BICK, LRCK
(Slave Mode)
Input
(5 ) B IC K a n d L R C K in p u t s ta rt
(6)
PS1-0 bits
(Addr:04H, D5-4)
00
XX
(6 ) A d d r:0 4 H , D a ta 6 A H
Figure 47. Clock Set Up Sequence(1)
(1) Release the pull-down of the XTI pin : MCKPD bit = "1" "0" and power-up the X'tal oscillator: PMXTL bit = "0" "1" (2) Power-up the PLL : PMPLL bit = "0" "1" The PLL should be powered-up after the X'tal oscillator becomes stable. If X'tal and PLL are powered-up at the same time, the PLL does not start. It takes X'tal oscillator 20ms(typ) to be stable after PMXTL bit= "1". This time depends on X'tal. PLL needs 40ms lock time the PMPLL bit = "0" "1". (3) Enable MCKO output : MCKO bit = "0" "1" (4) MCKO is output after PLL becomes stable. (5) Input BICK and LRCK synchronized with the MCKO output. (6) Set the MCKO output frequency (PS1-0 bits) If PS1-0 bits are changed before LRCK is input, MCKO is not output. PS1-0 bits should be changed after LRCK is input.
MS0273-E-02 - 65 -
2005/04
ASAHI KASEI
[AK4640]
2. When X'tal is used in PLL mode. (Master mode)
MCKPD bit
(Addr:01H, D7) (1)
E x a m p le :
A u d io I/F F o r m a t : I S B IC K f re q u e nc y a t M a s te r M o d e : 6 4 f s I np u t M a s t e r C lo c k S e le c t a t P L L M o d e : 1 1 .2 8 9 6 M H z O utp u t M a s te r C lo c k F re q ue n c y : 6 4 f s
2
PMXTL bit
(Addr:01H, D6) 20ms(typ) (2)
(1 ) A d d r:0 1 H , D a ta :4 0 H
40msec(max)
PMPLL bit
(Addr:01H, D5)
(2 ) A d d r:0 1 H , D a ta :6 0 H
MCKO bit
(Addr:04H, D3) (3)
(3 ) A d d r:0 4 H , D a ta 6 A H
PS1-0 bits
(Addr:04H, D5-4)
00
(4)
XX Output Output
(4 ) M C K O , B IC K a n d L R C K o u tp u t s ta rts
MCKO pin BICK, LRCK
(Master Mode)
Figure 48. Clock Set Up Sequence(2)
(1) Release the pull-down of the XTI pin : MCKPD bit = "1" "0" and and power-up the X'tal oscillator: PMXTL bit = "0" "1" (2) Power-up PLL : PMPLL bit = "0" "1" The PLL should be powered-up after the X'tal oscillator becomes stable. If X'tal and PLL are powered-up at the same time, the PLL does not start. It takes X'tal oscillator 20ms(typ) to be stable after PMXTL bit= "1". This time depends on X'tal. PLL needs 40ms lock time the PMPLL bit = "0" "1". (3) Enable MCKO output : MCKO bit = "0" "1" and set up MCKO output frequency (PS1-0 bits) (4) MCKO, BICK and LRCK are output after PLL lock time.
MS0273-E-02 - 66 -
2005/04
ASAHI KASEI
[AK4640]
3. When an external clock is used in PLL mode. (Slave mode)
E xam p le :
MCKPD bit
(Addr:01H, D7)
(1)
A u d io I/F F o r m a t : I S B IC K f re q u e nc y a t M a s te r M o d e : 6 4 f s I np u t M a s t e r C lo c k S e le c t a t P L L M o d e : 1 1 .2 8 9 6 M H z O utp u t M a s te r C lo c k F re q ue n c y : 6 4 f s
2
External MCLK PMPLL bit
(Addr:01H, D5)
(2)
Input
(3)
(1 ) A d d r:0 1 H , D a ta :0 0 H
(2 ) In pu t exte rn a l M C L K
40ms(max)
MCKO bit
(Addr:04H, D3) (4) (5)
(3 ) A d d r:0 1 H , D a ta 2 0 H
(4 ) A d d r:0 4 H , D a ta 4 A H
MCKO pin BICK, LRCK
(Slave Mode) (6)
Output
(5 ) M C K O ou tp u t starts
Input
(7)
(6 ) B IC K a nd L R C K inp u t s ta rt
PS1-0 bits
(Addr:04H, D5-4)
00
XX
(7 ) A d d r:0 4 H , D a ta 6 A H
Figure 49. Clock Set Up Sequence(3)
(1) Release the pull-down of the XTI pin : MCKPD bit = "1" "0" (2) Input an external MCKI (3) Power-up PLL : PMPLL bit = "0" "1" PLL needs 40ms lock time after the PMPLL bit = "0" "1". (4) Enable MCKO output : MCKO bit = "0" "1" (5) MCKO is output after PLL lock time. (6) Input BICK and LRCK that synchronized in the MCKO output. (7) Set up MCKO output frequency (PS1-0 bits) If PS1-0 bits are changed before LRCK is input, MCKO is not output. PS1-0 bits should be changed after LRCK is input.
MS0273-E-02 - 67 -
2005/04
ASAHI KASEI
[AK4640]
4. When an external clock is used in PLL mode. (Master mode)
MCKPD bit
(Addr:01H, D7) (1) (2) (3)
E xam ple :
A udio I/F Fo rm at : I S B IC K freq ue ncy at M a ste r M o de : 64fs Inp ut M aster C lo c k S e lect at P LL M o de : 1 1.2 896M H z O utp ut M as ter C lo ck F re q ue ncy : 6 4fs
2
External MCLK PMPLL bit
(Addr:01H, D5)
Input
(1 ) A dd r:01 H , D ata:00 H
40ms(max)
(2 ) In pu t extern al M C LK
MCKO bit
(Addr:04H, D3) (4)
(3 ) A dd r:01 H , D ata 20 H
PS1-0 bits
(Addr:04H, D5-4)
00
(5)
XX Output Output
(4 ) A dd r:04 H , D ata 6A H
(5 ) M C K O , BIC K an d L R C K output starts
MCKO pin BICK, LRCK
(Master Mode)
Figure 50. Clock Set Up Sequence(4)
(1) Release the pull-down of the XTI pin : MCKPD bit = "1" "0" (2) Input an external MCKI (3) Power-up PLL : PMPLL bit = "0" "1" PLL needs 40ms lock time after the PMPLL bit = "0" "1". (4) Enable MCKO output : MCKO bit = "0" "1" and set up MCKO output frequency (PS1-0 bits) (5) MCKO, BICK and LRCK are output after PLL lock time.
5. External clock mode
MCKPD bit
(Addr:01H, D7) (2) (1)
E xam ple :
A udio I/F Fo rm at : I S B IC K frequency at M aster M o de : 64fs Input M aster C lo ck Frequency : 256fs O utput M aster C lo ck Frequency : 64fs
2
FS1-0 bits
(Addr:05H, D6-5)
00
(3)
XX
(1 ) A dd r:0 1H , D ata:00 H
External MCLK BICK, LRCK
(Slave Mode)
Input Input Output
(2 ) A dd r:0 5H , D ata 00 H
(4)
(3 ) In pu t external M C L K
BICK, LRCK
(Master Mode)
(5)
(4 ) In p ut B IC K and L R C K (S lave) (5 ) B IC K an d L R C K ou tp ut(M aster)
Figure 51. Clock Set Up Sequence(5) (1) Release the pull-down of the XTI pin : MCKPD bit = "1" "0" (2) Set up MCKI frequency (FS1-0 bits) (3) Input an external MCKI (4) In slave mode, input MCKI, BICK and LRCK. (5) In master mode, while MCKI is input, BICK and LRCK are output.
MS0273-E-02 - 68 -
2005/04
ASAHI KASEI
[AK4640]
MIC Input Recording
FS2-0 bits
(Addr:05H, D7-5)
Example :
000
(1)
XXX XX1XX
(2)
MIC Control
(Addr:07H, D2-0)
00001 XXH
(3)
X'tal and PLL are used. Sampling Frequency : 8kHz Mic Select : Internal Mic Pre Mic AMP : +20dB MIC Power On ALC1 setting : Refer to Figure 9 ALC2 bit = "1"(default)
ALC1 Control 1
(Addr:08H)
00H 47H
(4)
(1) Addr:05H, Data:E0H
ALC1 Control 2
(Addr:0AH)
XXH
(2) Addr:07H, Data:0DH
ALC1 Control 3
(Addr:09H)
(3) Addr:08H, Data:00H
XXH
(5)
61H or 21H
(4) Addr:0AH, Data:47H
ALC1 State PMADC bit
(Addr:00H, D0)
ALC1 Disable
ALC1 Enable
ALC1 Disable
(5) Addr:09H, Data:61H
(6)
(7) 2081 / fs
(6) Addr:00H, Data 83H
PMMIC bit
(Addr:00H, D1)
Recording
ADC Internal State
Power Down
Initialize Normal State Power Down
(7) Addr:00H, Data 80H
Figure 52. MIC Input Recording Sequence This sequence is an example of ALC1 setting in the case that fs=8kHz and ALC1 operation starts from IPGA=0dB. If the parameter of the ALC1 is changed, please refer to "Figure 20. Registers set-up sequence at ALC1 operation" At first, clocks should be supplied according to "Clock Set Up" sequence. (1) Set up a sampling frequency (FS2-0 bits). When the AK4640 is PLL mode, MIC and ADC should be powered-up in consideration of PLL lock time after a sampling frequency is changed. (2) Set up MIC input (Addr: 07H) (3) Set up Timer Select for ALC1 (Addr: 08H) (4) Set up REF value for ALC1 (Addr: 0AH) (5) Set up LMTH, RATT, LMAT1-0, ALC1 bits (Addr: 09H) (6) Power Up MIC and ADC: PMMIC bit = PMADC bit = "0" "1" The initialization cycle time of ADC is 2081/fs=47.2ms@fs=44.1kHz. After the ALC1 bit is set to "1" and MIC block is powered-up, the ALC1 operation starts from IPGA initial value (0dB). (7) Power Down MIC and ADC: PMMIC bit = PMADC bit = "1" "0" When the registers for the ALC1 operation are not changed, ALC1 bit may be keeping "1". The ALC1 operation is disabled because the MIC block is powered-down. If the registers for the ALC1 operation are also changed when the sampling frequency is changed, it should be done after the AK4640 goes to the manual mode (ALC1 bit = "0") or MIC block is powered-down (PMMIC bit = "0"). IPGA gain is reset when PMMIC bit is "0", and then IPGA operation starts from the default value when PMMIC is changed to "1".
MS0273-E-02 - 69 -
2005/04
ASAHI KASEI
[AK4640]
Headphone-amp Output
E x a m p le :
X 't a l a n d P L L a r e u s e d . S a m p lin g F r e q u e n c y : 4 4 . 1 k H z D A T T C b it = " 1 " ( d e f a u lt ) D ig ita l A tt e n u a t o r L e v e l : - 8 d B B a s s B o o s t L e v e l : M id d le D e -e m p h a s e s re s p o n s e : O F F S o f t M u t e T im e : 1 0 2 4 / fs
FS2-0 bits
(Addr:05H, D7-5)
000
(1)
XXX 00
(2)
( 1 ) A d d r : 0 5 H , D a ta : 0 0 H
BST1-0 bits
(Addr:06H, D3-2)
( 2 ) A d d r : 0 6 H , D a ta 1 9 H
XX
(10)
00
( 3 ) A d d r : 0 C H , D a ta 1 0 H
ATTL7-0 bits
(Addr:0CH 0DH, D7-0)
0000000
(3)
XXXXXXX
( 4 ) A d d r : 0 1 H , D a ta 6 1 H
PMDAC bit
(Addr:01H, D0) (4) (9)
( 5 ) A d d r : 0 2 H , D a ta 8 0 H
( 6 ) A d d r : 0 1 H , D a ta 6 7 H
HPL/R bit
(Addr:03H, D1-0)
(5)
(8)
P la y b a c k
PMHPL/R bits
(Addr:01H, D2-1)
(6)
(7)
( 7 ) A d d r : 0 1 H , D a ta 6 1 H
HPL/R pins
Normal Output
( 8 ) A d d r : 0 2 H , D a ta 8 3 H
( 9 ) A d d r : 0 1 H , D a ta 6 0 H
( 1 0 ) A d d r :0 6 H , D a t a 1 1 H
Figure 53. Headphone-Amp Output Sequence At first, clocks should be supplied according to "Clock Set Up" sequence. (1) Set up a sampling frequency (FS2-0 bits) if PLL mode is used. (2) Set up the low frequency boost level(BST1-0 bits) (3) Set up the digital volume(Addr : 0CH and 0DH) At DATTC bit = "1"(default), ATTL7-0 bits of Address 0CH control both Lch and Rch attenuation level. (4) Power up DAC : PMDAC bit = "0" "1" (5) Power up headphone-amp : HPL bit = HPR bit = "1" "0" Output voltage of headphone-amp is still HVSS. (6) Rise up the common voltage of headphone-amp : PMHPL bit = PMHPR bit = "0" "1" The rising time after power up Headphone-amp depends on the capacitor value connected with the MUTET pin. When this capacitor value is 1.0F, the time constant is r = 100ms(typ), 250ms(max). (7) Fall down the common voltage of headphone-amp : PMHPL bit = PMHPR bit = "1" "0" The rising time after power up Headphone-amp depends on the capacitor value connected with the MUTET pin. When this capacitor value is 1.0F, the time constant is f = 100ms(typ), 250ms(max). If the power supply is powered off or Headphone-Amp is powered-down before the common voltage goes to GND, some click noise occurs. It takes 2times of f that the common voltage goes to GND. (8) Power down headphone-amp : HPL bit = HPR bit = "0" "1" (9) Power down DAC : PMDAC bit = "1" "0" (10) Off the low frequency boost level (BST1-0 bits = "00")
MS0273-E-02 - 70 -
2005/04
ASAHI KASEI
[AK4640]
Speaker-amp Output
FS2-0 bits
(Addr:05H, D7-5)
000
(1)
XXX
E x a m p le :
ALC2 bit
(Addr:09H, D6
0
(2)
X XXXXXXX
(3)
X 'ta l a n d P L L a r e u s e d . S a m p li n g F r e q u e n c y : 4 8 k H z D A T T C b it = " 1 "( d e f a u lt ) D ig it a l A t te n u a to r L e v e l : 0 d B A L C 1 : D is a b le A L C 2 : D is a b le
ATTL7-0 bits
(Addr:0CH 0DH, D7-0)
0000000
( 1 ) A d d r :0 5 H , D a ta 6 0 H
PMDAC bit
(Addr:01H, D0) (4) (7)
( 2 ) A d d r :0 9 H , D a t a 0 0 H
PMSPK bit
(Addr:01H, D3)
( 3 ) A d d r :0 C H , D a ta 0 0 H
( 4 ) A d d r :0 1 H , D a t a 6 9 H
SPPS bit
(Addr:05H, D0) (5) (6)
( 5 ) A d d r :0 5 H , D a t a 6 1 H P la y b a c k
SPP pin SPN pin Hi-Z
Hi-Z HVDD/2
Normal Output Normal Output
Hi-Z HVDD/2 Hi-Z
( 6 ) A d d r :0 5 H , D a t a 6 0 H
( 7 ) A d d r :0 1 H , D a t a 6 0 H
Figure 54. Speaker-Amp Output Sequence
At first, clocks should be supplied according to "Clock Set Up" sequence. (1) Set up a sampling frequency (FS2-0 bits) if PLL mode is used. (2) Set up the ALC2 Enable/Disable(ALC2 bit) (3) Set up the digital volume(Addr : 0CH and 0DH) At DATTC bit = "1"(default), ATTL7-0 bits of Address 0CH control both Lch and Rch attenuation level. (4) Power up of DAC and Speaker-amp : PMDAC bit = PMSPK bit = "0" "1" SPPS bit should be set to "1" at more than 1ms after PMSPK bit is set to "1". The initializing time of Speaker-amp is 2048/fs=46.4ms@fs=44.1kHz. (5) Exit the power-save-mode of Speaker-amp : SPPS bit = "0" "1" (6) Enter the power-save-mode of Speaker-amp : SPPS bit = "1" "0" (7) Power down DAC and Speaker-amp : PMDAC bit = PMSPK bit = "1" "0"
MS0273-E-02 - 71 -
2005/04
ASAHI KASEI
[AK4640]
Stop of Clock
MCKI can be stopped when PMMIC=PMADC=PMDAC=PMSPK= "0". 1. When X'tal is used in PLL mode
MCKO bit
(Addr:03H, D4) (1)
E x a m p le :
A u d io I/F F o rm a t : I 2 S B IC K fre q u e n c y a t M a s te r M o d e : 6 4 fs In p u t M a s te r C loc k S e lec t a t P L L M o d e : 1 1 .2 8 9 6 M H z O u tp u t M a s te r C loc k F re q u e n c y : 6 4 fs
PMXTL bit
(Addr:01H, D6) (2)
PMPLL bit
(Addr:01H, D5)
(1 ) A d d r:0 4 H , D a ta :6 2 H
MCKPD bit
(Addr:01H, D7)
(2 ) A d d r:0 1 H , D a ta :8 0 H
Figure 55. Stop of Clock Sequence(1) (1) Disable MCKO output : MCKO bit = "1" "0" (2) Power down X'tal and PLL, Pull down the XTI pin : PMXTL bit = PMPLL bit = "1" "0", MCKPD = "0" "1" 2. When an external clock is used in PLL mode
E x a m p le :
A u d io I/F : I 2 S B IC K fre q u e n c y a t M a s te r M o d e : 6 4 fs In p u t M a s te r C lo c k S e le c t a t P L L M o d e : 1 1 .2 8 9 6 M H z O u tp u t M a s te r C lo c k F re q u e n c y : 6 4 fs
MCKO bit
(Addr:03H, D4)
(1) (2)
PMPLL bit
(Addr:01H, D5)
(1 ) A d d r:0 4 H , D a ta :6 2 H
MCKPD bit
(Addr:01H, D7) (3)
(2 ) A d d r:0 1 H , D a ta :8 0 H
(3 ) S to p e x te rn a l c lo c k
External MCLK
Input
Figure 56. Stop of Clock Sequence(2) (1) Stop MCKO output : MCKO bit = "1" "0" (2) Power down PLL, Pull down the XTI pin : PMPLL bit = "1" "0", MCKPD = "0" "1" When the external MCKI becomes Hi-Z or the external MCKI is input by AC couple, MCKI pin should be pulled down. (3) Stop an external MCKI
MS0273-E-02 - 72 -
2005/04
ASAHI KASEI
[AK4640]
3. External clock mode
M C K P D b it
(A d d r:0 1 H , D 7 )
E x a m p le : (1 ) A d d r:0 1 H , D a ta :8 0 H
E xtern al M C L K
In p u t
(2 ) S to p e x te rn a l c lo c k
Figure 57. Stop of Clock Sequence(3)
(1) Pull down the XTI pin : MCKPD = "0" "1" When the external MCKI becomes Hi-Z or the external MCKI is input by AC couple, MCKI pin should be pulled down. (2) Stop an external MCKI
Power down
Power down VCOM(PMVCM= "1" "0") after all blocks except VCOM are powered down and MCKI stops. The AK4640 is also powered-down by PDN pin = "L". When PDN pin = "L", the registers are initialized.
MS0273-E-02 - 73 -
2005/04
ASAHI KASEI
[AK4640]
PACKAGE (AK4640VG)
57pin BGA (Unit: mm)
A
9 8 7 65
5.0 0.1
57 - 0.3 0.05 0.05 M S AB
4 32 1 A B C D E
B
5.0 0.1
4.0
F G H J
0.5 0.5
S
Material & Lead finish
Package molding compound: Interposer material: Solder ball material: Epoxy BT resin SnAgCu
MS0273-E-02 - 74 -
0.25 0.05
0.08 S
1.0MAX
2005/04
ASAHI KASEI
[AK4640]
PACKAGE (AK4640VN)
52pin QFN (Unit: mm) 7.2 0.20 7.0 0.10
52 1 40 39 39 40 52 0.20 + 0.10 - 0.20
0.60 0.10
0. 30
1
10 0.
4 - C0.6
7.2 0.20
7.0 0.10
45
45
13
27
27
13
14
26 0.78 + 0.17 - 0.28
26 0.80 + 0.20 - 0.00
14 0.40
0.21 0.05
0.18 0.05
0.05
M
0.05
Note) The part of black at four corners on reverse side must not be soldered and must be open.
Material & Lead finish
Package molding compound: Lead frame material: Lead frame surface treatment: Epoxy Cu Solder (Pb free) plate
MS0273-E-02 - 75 -
0.02 + 0.03 - 0.02
2005/04
ASAHI KASEI
[AK4640]
MARKING (AK4640VG)
4640
XXXX
XXXX: Date code (4 digit) Pin #1 indication
MS0273-E-02 - 76 -
2005/04
ASAHI KASEI
[AK4640]
MARKING (AK4640VN)
AKM AK4640VN XXXXXXX
1
XXXXXXX : Date code identifier (7 digits)
Revision History
Date (YY/MM/DD) 04/03/16 04/11/26 Revision 00 01 Reason First Edition Explanation addition: Page 27 Contents Audio Interface Format [When LOOP bit = "1", audio interface format of SDTO is fixed to I2S regardless of DIF1-0 bits setting.] is added. Headphone Output Rise/fall time constant: = 250ms(max). Time until the common goes to HVSS when PMHPL/R bits = "1" "0": 500ms(max). Headphone Output Sequence (6), (7) Rise/fall time constant: = 250ms(max) Features SPK-AMP Output Power: 300mW 400mW SPK-AMP "Connection Example for 400mW output" is added. Features MCLK(min): 1.792MHz 2.048MHz
36
69 05/04/27 02 Explanation change: 1 38-39
Error correct
1
MS0273-E-02 - 77 -
2005/04
ASAHI KASEI
[AK4640]
IMPORTANT NOTICE * These products and their specifications are subject to change without notice. Before considering any use or application, consult the Asahi Kasei Microsystems Co., Ltd. (AKM) sales office or authorized distributor concerning their current status. * AKM assumes no liability for infringement of any patent, intellectual property, or other right in the application or use of any information contained herein. * Any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. * AKM products are neither intended nor authorized for use as critical components in any safety, life support, or other hazard related device or system, and AKM assumes no responsibility relating to any such use, except with the express written consent of the Representative Director of AKM. As used here: a. A hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. b. A critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. * It is the responsibility of the buyer or distributor of an AKM product who distributes, disposes of, or otherwise places the product with a third party to notify that party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold AKM harmless from any and all claims arising from the use of said product in the absence of such notification.
MS0273-E-02 - 78 -
2005/04


▲Up To Search▲   

 
Price & Availability of AK464005

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X